Skip to content

Commit

Permalink
updates to SDL_config_win32.h
Browse files Browse the repository at this point in the history
- 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 eee2f24
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/SDL_config_win32.h
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit eee2f24

Please sign in to comment.