Correction: copysign has been supported by windows several toolchains
authorSam Lantinga <slouken@libsdl.org>
Sun, 10 Sep 2017 09:19:10 -0700
changeset 114860f4bf9e4a498
parent 11485 cdf55fac5366
child 11487 bf55fefff23d
Correction: copysign has been supported by windows several toolchains
for a very long time, including MSVC6, MinGW, LCC-Win32, (no released
watcom versions though, but that's of no concern.)

Patch from Ozkan Sezer
include/SDL_config_windows.h
     1.1 --- a/include/SDL_config_windows.h	Sat Sep 09 21:17:46 2017 -0400
     1.2 +++ b/include/SDL_config_windows.h	Sun Sep 10 09:19:10 2017 -0700
     1.3 @@ -142,12 +142,12 @@
     1.4  #define HAVE_SQRTF 1
     1.5  #define HAVE_TAN 1
     1.6  #define HAVE_TANF 1
     1.7 +#define HAVE_COPYSIGN 1
     1.8  #if defined(_MSC_VER)
     1.9  /* These functions were added with the VC++ 2013 C runtime library */
    1.10  #if _MSC_VER >= 1800
    1.11  #define HAVE_STRTOLL 1
    1.12  #define HAVE_VSSCANF 1
    1.13 -#define HAVE_COPYSIGN 1
    1.14  #define HAVE_SCALBN 1
    1.15  #endif
    1.16  /* This function is available with at least the VC++ 2008 C runtime library */