From e228d15261e624e9b91f578bbe20f43f3d70fddf Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 4 Mar 2021 18:27:37 +0300
Subject: [PATCH] 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
---
include/SDL_config_windows.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/SDL_config_windows.h b/include/SDL_config_windows.h
index 4f41f11b6..bed9d42ec 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;