WinRT: build fixes and additional WinRT-related integrations with SDL 2.0.0

This commit is contained in:
David Ludwig 2013-08-13 20:09:52 -04:00
parent f7049b93d5
commit d41fdc94d6
13 changed files with 110 additions and 31 deletions

View file

@ -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 */