mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-25 18:10:46 +00:00
WinRT: build fixes and additional WinRT-related integrations with SDL 2.0.0
This commit is contained in:
@@ -61,6 +61,8 @@ SDL_copysign(double x, double y)
|
||||
{
|
||||
#if defined(HAVE_COPYSIGN)
|
||||
return copysign(x, y);
|
||||
#elif defined(HAVE__COPYSIGN)
|
||||
return _copysign(x, y);
|
||||
#else
|
||||
return SDL_uclibc_copysign(x, y);
|
||||
#endif /* HAVE_COPYSIGN */
|
||||
@@ -131,6 +133,8 @@ SDL_scalbn(double x, int n)
|
||||
{
|
||||
#if defined(HAVE_SCALBN)
|
||||
return scalbn(x, n);
|
||||
#elif defined(HAVE__SCALB)
|
||||
return _scalb(x, n);
|
||||
#else
|
||||
return SDL_uclibc_scalbn(x, n);
|
||||
#endif /* HAVE_SCALBN */
|
||||
|
||||
Reference in New Issue
Block a user