Fixed compiling on Windows with HAVE_LIBC enabled
authorSam Lantinga <slouken@libsdl.org>
Sat, 04 Nov 2017 18:01:03 -0700
changeset 116863893a60fc5a9
parent 11685 1788f503254d
child 11687 e968d755a760
Fixed compiling on Windows with HAVE_LIBC enabled
include/SDL_config_windows.h
     1.1 --- a/include/SDL_config_windows.h	Sat Nov 04 17:39:28 2017 -0700
     1.2 +++ b/include/SDL_config_windows.h	Sat Nov 04 18:01:03 2017 -0700
     1.3 @@ -109,13 +109,15 @@
     1.4  #define HAVE_MEMCMP 1
     1.5  #define HAVE_STRLEN 1
     1.6  #define HAVE__STRREV 1
     1.7 -#define HAVE__STRUPR 1
     1.8 -#define HAVE__STRLWR 1
     1.9 +/* These functions have security warnings, so we won't use them */
    1.10 +/* #undef HAVE__STRUPR */
    1.11 +/* #undef HAVE__STRLWR */
    1.12  #define HAVE_STRCHR 1
    1.13  #define HAVE_STRRCHR 1
    1.14  #define HAVE_STRSTR 1
    1.15 -#define HAVE__LTOA 1
    1.16 -#define HAVE__ULTOA 1
    1.17 +/* These functions have security warnings, so we won't use them */
    1.18 +/* #undef HAVE__LTOA */
    1.19 +/* #undef HAVE__ULTOA */
    1.20  #define HAVE_STRTOL 1
    1.21  #define HAVE_STRTOUL 1
    1.22  #define HAVE_STRTOD 1