Browse Source

SDL_config_windows.h: added clang to list of toolchains having stdint.h

from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
Ozkan Sezer 4 years ago
parent
commit
e228d15261
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/SDL_config_windows.h

+ 1 - 1
include/SDL_config_windows.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__) || defined(__WATCOMC__)
+#if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__) || defined(__clang__)
 #define HAVE_STDINT_H   1
 #elif defined(_MSC_VER)
 typedef signed __int8 int8_t;