Skip to content
Permalink
Browse files

updates to SDL_config_win32.h

- Watcom has stdint.h
- MinGW and Watcom has strtoll() and also strtoll()
- Win32 has strdup(), _i64toa() and _ui64toa()
  • Loading branch information
sezero committed Mar 24, 2018
1 parent f7aab57 commit eee2f2475b3cfe969a3c9aa98e90c85bf1031c02
Showing with 7 additions and 1 deletion.
  1. +7 −1 include/SDL_config_win32.h
@@ -27,7 +27,7 @@

/* This is a set of defines to configure the SDL features */

#if defined(__GNUC__) || defined(__DMC__)
#if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__)
#define HAVE_STDINT_H 1
#elif defined(_MSC_VER)
typedef signed __int8 int8_t;
@@ -96,6 +96,7 @@ typedef unsigned int uintptr_t;
#define HAVE_MEMMOVE 1
#define HAVE_MEMCMP 1
#define HAVE_STRLEN 1
#define HAVE_STRDUP 1
#define HAVE__STRREV 1
#define HAVE__STRUPR 1
#define HAVE__STRLWR 1
@@ -105,9 +106,14 @@ typedef unsigned int uintptr_t;
#define HAVE_ITOA 1
#define HAVE__LTOA 1
#define HAVE__ULTOA 1
#define HAVE__I64TOA 1
#define HAVE__UI64TOA 1
#define HAVE_STRTOL 1
#define HAVE_STRTOUL 1
#if defined(__MINGW32__) || defined(__WATCOMC__)
#define HAVE_STRTOLL 1
#define HAVE_STRTOULL 1
#endif
#define HAVE_STRTOD 1
#define HAVE_ATOI 1
#define HAVE_ATOF 1

0 comments on commit eee2f24

Please sign in to comment.