diff --git a/include/SDL_config_win32.h b/include/SDL_config_win32.h index d66110028..9dc1645b0 100644 --- a/include/SDL_config_win32.h +++ b/include/SDL_config_win32.h @@ -28,7 +28,7 @@ /* This is a set of defines to configure the SDL features */ #if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H) -#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; diff --git a/include/SDL_opengl.h b/include/SDL_opengl.h index 37ae7e538..ef1ef19a6 100644 --- a/include/SDL_opengl.h +++ b/include/SDL_opengl.h @@ -4447,7 +4447,7 @@ typedef unsigned long long int uint64_t; typedef long int int32_t; typedef long long int int64_t; typedef unsigned long long int uint64_t; -#elif defined(_WIN32) && defined(__GNUC__) +#elif defined(_WIN32) && (defined(__GNUC__) || defined(__WATCOMC__)) #include #elif defined(_WIN32) typedef __int32 int32_t;