]> granicus.if.org Git - php/commitdiff
Remove HAVE_LIMITS_H check
authorPeter Kokot <peterkokot@gmail.com>
Sun, 30 Jun 2019 21:44:45 +0000 (23:44 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Sun, 30 Jun 2019 21:44:45 +0000 (23:44 +0200)
The limits.h header is part of the C89 and is today available
everywhere. There is no need to check for presence of this header
anymore.

The timelib has already been patched upstream via
aae5907cb7e775f16bedf61b010b8692c12a2843

PHP extensions out there shouldn't rely on symbols defined during the
build anyway and neither they do on this particular symbol anymore.

configure.ac
win32/build/config.w32.h.in

index 9beb461ab56a214ee3f23076613f82cf2c4ae758..eeb806f639ced5903aa69527720bae8bc583bd7c 100644 (file)
@@ -434,7 +434,6 @@ fcntl.h \
 grp.h \
 ieeefp.h \
 langinfo.h \
-limits.h \
 locale.h \
 malloc.h \
 monetary.h \
index 3af5fbecf677ff9e95029022e19c3b66dbd913d4..1b197c19d7eebab0410a8f4a59beb56f9bc8621c 100644 (file)
@@ -58,7 +58,6 @@
 #define HAVE_LIBDL 1
 #define HAVE_GETTIMEOFDAY 1
 #define HAVE_PUTENV 1
-#define HAVE_LIMITS_H 1
 #define HAVE_TZSET 1
 #undef HAVE_FLOCK
 #define HAVE_ALLOCA 1