updates to SDL_config_win32.h SDL-1.2
authorOzkan Sezer <sezeroz@gmail.com>
Sat, 24 Mar 2018 22:21:15 +0300
branchSDL-1.2
changeset 11963bed18a4357e5
parent 11962 6d7d78d2d864
child 11964 6c37a15030e7
updates to SDL_config_win32.h

- Watcom has stdint.h
- MinGW and Watcom has strtoll() and also strtoll()
- Win32 has strdup(), _i64toa() and _ui64toa()
include/SDL_config_win32.h
     1.1 --- a/include/SDL_config_win32.h	Sat Mar 24 22:17:33 2018 +0300
     1.2 +++ b/include/SDL_config_win32.h	Sat Mar 24 22:21:15 2018 +0300
     1.3 @@ -27,7 +27,7 @@
     1.4  
     1.5  /* This is a set of defines to configure the SDL features */
     1.6  
     1.7 -#if defined(__GNUC__) || defined(__DMC__)
     1.8 +#if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__)
     1.9  #define HAVE_STDINT_H	1
    1.10  #elif defined(_MSC_VER)
    1.11  typedef signed __int8		int8_t;
    1.12 @@ -96,6 +96,7 @@
    1.13  #define HAVE_MEMMOVE 1
    1.14  #define HAVE_MEMCMP 1
    1.15  #define HAVE_STRLEN 1
    1.16 +#define HAVE_STRDUP 1
    1.17  #define HAVE__STRREV 1
    1.18  #define HAVE__STRUPR 1
    1.19  #define HAVE__STRLWR 1
    1.20 @@ -105,9 +106,14 @@
    1.21  #define HAVE_ITOA 1
    1.22  #define HAVE__LTOA 1
    1.23  #define HAVE__ULTOA 1
    1.24 +#define HAVE__I64TOA 1
    1.25 +#define HAVE__UI64TOA 1
    1.26  #define HAVE_STRTOL 1
    1.27  #define HAVE_STRTOUL 1
    1.28 +#if defined(__MINGW32__) || defined(__WATCOMC__)
    1.29  #define HAVE_STRTOLL 1
    1.30 +#define HAVE_STRTOULL 1
    1.31 +#endif
    1.32  #define HAVE_STRTOD 1
    1.33  #define HAVE_ATOI 1
    1.34  #define HAVE_ATOF 1