SDL: config: Try to use stdint.h with Borland C.

From f5e636a62169f3429f2d03c237840bdc3020305f Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Mon, 20 Sep 2021 20:43:39 -0400
Subject: [PATCH] config: Try to use stdint.h with Borland C.

(This probably isn't right on truly ancient versions of Borland C, but it
should cover things from the last decade or so, I hope.)

(possibly) Fixes #1673.
---
 include/SDL_config.h.cmake   | 2 +-
 include/SDL_config_windows.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/SDL_config.h.cmake b/include/SDL_config.h.cmake
index 273555d8a8..4c23f26220 100644
--- a/include/SDL_config.h.cmake
+++ b/include/SDL_config.h.cmake
@@ -509,7 +509,7 @@ typedef unsigned long uintptr_t;
 #  endif /* if (stdint.h isn't available) */
 #else /* __WIN32__ */
 #  if !defined(_STDINT_H_) && !defined(HAVE_STDINT_H) && !defined(_HAVE_STDINT_H)
-#    if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__)
+#    if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__CODEGEARC__)
 #define HAVE_STDINT_H	1
 #    elif defined(_MSC_VER)
 typedef signed __int8 int8_t;
diff --git a/include/SDL_config_windows.h b/include/SDL_config_windows.h
index 33436c41c8..9fae43ed3e 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__) || defined(__clang__)
+#if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__) || defined(__clang__) || defined(__BORLANDC__) || defined(__CODEGEARC__)
 #define HAVE_STDINT_H   1
 #elif defined(_MSC_VER)
 typedef signed __int8 int8_t;