From a268c841e3b57e8dd4d6e873ac77e4dc5f703bdd Mon Sep 17 00:00:00 2001 From: Sam Lantinga 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 b60b545210..9503b3882a 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 fa4dd7c83c..6f97045f1b 100644 --- a/src/SDL_internal.h +++ b/src/SDL_internal.h @@ -74,7 +74,7 @@ # include #endif #ifdef HAVE_STRING_H -# if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H) +# ifdef HAVE_MEMORY_H # include # endif # include