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