From: Peter Kokot Date: Sun, 30 Jun 2019 21:44:45 +0000 (+0200) Subject: Remove HAVE_LIMITS_H check X-Git-Tag: php-7.4.0alpha3~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c1c66befe3fb590a0e214c059f8b045f388731f;p=php Remove HAVE_LIMITS_H check 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. --- diff --git a/configure.ac b/configure.ac index 9beb461ab5..eeb806f639 100644 --- a/configure.ac +++ b/configure.ac @@ -434,7 +434,6 @@ fcntl.h \ grp.h \ ieeefp.h \ langinfo.h \ -limits.h \ locale.h \ malloc.h \ monetary.h \ diff --git a/win32/build/config.w32.h.in b/win32/build/config.w32.h.in index 3af5fbecf6..1b197c19d7 100644 --- a/win32/build/config.w32.h.in +++ b/win32/build/config.w32.h.in @@ -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