[CRT] Add simplistic fallback implementation of sincos to make GCC 11 happy

This commit is contained in:
Timo Kreuzer 2022-06-25 12:27:39 +02:00
parent 28c41b7d22
commit dacbc603b6
3 changed files with 17 additions and 0 deletions

15
sdk/lib/crt/math/sincos.c Normal file
View file

@ -0,0 +1,15 @@
/*
* PROJECT: ReactOS CRT library
* LICENSE: MIT (https://spdx.org/licenses/MIT)
* PURPOSE: Fallback implementation of sincos
* COPYRIGHT: Copyright 2022 Timo Kreuzer <timo.kreuzer@reactos.org>
*/
#include <math.h>
// This is a very simplistic implementation to make GCC 11 happy
void sincos(double x, double *s, double *c)
{
*s = sin(x);
*c = cos(x);
}