SDL: Remove references to STDC_HEADERS (thanks @sezero!)

From a268c841e3b57e8dd4d6e873ac77e4dc5f703bdd Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 26 Nov 2022 12:51:20 -0800
Subject: [PATCH] Remove references to STDC_HEADERS (thanks @sezero!)

---
 include/build_config/SDL_build_config.h.cmake | 1 -
 src/SDL_internal.h                            | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/build_config/SDL_build_config.h.cmake b/include/build_config/SDL_build_config.h.cmake
index b60b5452100e..9503b3882abf 100644
--- a/include/build_config/SDL_build_config.h.cmake
+++ b/include/build_config/SDL_build_config.h.cmake
@@ -52,7 +52,6 @@
 #if HAVE_LIBC
 
 /* Useful headers */
-#cmakedefine STDC_HEADERS 1
 #cmakedefine HAVE_ALLOCA_H 1
 #cmakedefine HAVE_CTYPE_H 1
 #cmakedefine HAVE_FLOAT_H 1
diff --git a/src/SDL_internal.h b/src/SDL_internal.h
index fa4dd7c83cf7..6f97045f1b3a 100644
--- a/src/SDL_internal.h
+++ b/src/SDL_internal.h
@@ -74,7 +74,7 @@
 # include <stdarg.h>
 #endif
 #ifdef HAVE_STRING_H
-# if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H)
+# ifdef HAVE_MEMORY_H
 #  include <memory.h>
 # endif
 # include <string.h>