aboutsummaryrefslogtreecommitdiff
path: root/src/config.h.win32
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-09-07 20:30:02 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-09-07 20:30:02 +0200
commit8ecccc8bbc099cc24854a36a002e19c033998d67 (patch)
treeb5254c397e9750b05826a9529635b80eebfa3b6a /src/config.h.win32
parente8a5be67f4c0ebc1eb3fe23efb69897d0706534c (diff)
downloadoniguruma-8ecccc8bbc099cc24854a36a002e19c033998d67.zip
oniguruma-8ecccc8bbc099cc24854a36a002e19c033998d67.tar.gz
oniguruma-8ecccc8bbc099cc24854a36a002e19c033998d67.tar.bz2
Remove obsolescent AC_HEADER_STDC
Autoconf 2.59d (released in 2006) [1] started promoting several macros as not relevant for newer systems anymore, including the `AC_HEADER_STDC`. This macro checks if given system has C89 compliant header files such as <string.h>, <stdlib.h>, <stdarg.h>, <float.h>,... and defines the `STDC_HEADERS` symbol [2]. Case is that current systems should be well supported with at least C89 standard headers [3]. Given headers are still additionally checked with the `AC_PROG_CC` macro, yet not needed anyway. For cmake build system this applies similarly and the manual custom check of the standard headers can be removed likewise. Refs: [1] http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS [2] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html [3] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
Diffstat (limited to 'src/config.h.win32')
-rw-r--r--src/config.h.win322
1 files changed, 0 insertions, 2 deletions
diff --git a/src/config.h.win32 b/src/config.h.win32
index 36fe268..2a33a5e 100644
--- a/src/config.h.win32
+++ b/src/config.h.win32
@@ -1,4 +1,3 @@
-#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_MEMORY_H 1
@@ -23,7 +22,6 @@
#endif
#endif
#define HAVE_DECL_SYS_NERR 1
-#define STDC_HEADERS 1
#define HAVE_FCNTL_H 1
#define HAVE_SYS_UTIME_H 1
#define HAVE_MEMORY_H 1