Commit e228d15261e624e9b91f578bbe20f43f3d70fddf

Ozkan Sezer 2021-03-04T18:27:37

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

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/SDL_config_windows.h b/include/SDL_config_windows.h
index 4f41f11..bed9d42 100644
--- a/include/SDL_config_windows.h
+++ b/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;