From fd1ad1e25a6d0676a560d237ff5f44faa6e1dc87 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 7 Apr 2019 15:20:02 +0200 Subject: Remove HAVE_LIMITS_H The `` header file is part of the standard C89 headers [1] and on current systems can be included unconditionally. Since PHP requires at least C89 or greater, the `HAVE_LIMITS_H` symbol defined by Autoconf in configure.ac [2] can be ommitted and simplifed however due to bundled file library (libmagic) and timelib still using it, the removal there was omitted and done only in Zend.m4 file. Current bundled libraries libtime, oniguruma, and libmagic still include partial `HAVE_LIMITS_H` usage and will be more refactored when this is possible. Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 --- Zend/Zend.m4 | 1 - 1 file changed, 1 deletion(-) (limited to 'Zend/Zend.m4') diff --git a/Zend/Zend.m4 b/Zend/Zend.m4 index 29404631eb..c0ada26aea 100644 --- a/Zend/Zend.m4 +++ b/Zend/Zend.m4 @@ -8,7 +8,6 @@ AC_REQUIRE([AC_PROG_CC]) AC_CHECK_HEADERS( inttypes.h \ stdint.h \ -limits.h \ malloc.h \ unistd.h \ sys/types.h \ -- cgit v1.2.1