Remove references to STDC_HEADERS (thanks @sezero!)

This commit is contained in:
Sam Lantinga 2022-11-26 12:51:20 -08:00
parent 581f1ca5c8
commit a268c841e3
2 changed files with 1 additions and 2 deletions

View file

@ -52,7 +52,6 @@
#if HAVE_LIBC #if HAVE_LIBC
/* Useful headers */ /* Useful headers */
#cmakedefine STDC_HEADERS 1
#cmakedefine HAVE_ALLOCA_H 1 #cmakedefine HAVE_ALLOCA_H 1
#cmakedefine HAVE_CTYPE_H 1 #cmakedefine HAVE_CTYPE_H 1
#cmakedefine HAVE_FLOAT_H 1 #cmakedefine HAVE_FLOAT_H 1

View file

@ -74,7 +74,7 @@
# include <stdarg.h> # include <stdarg.h>
#endif #endif
#ifdef HAVE_STRING_H #ifdef HAVE_STRING_H
# if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H) # ifdef HAVE_MEMORY_H
# include <memory.h> # include <memory.h>
# endif # endif
# include <string.h> # include <string.h>