From: Peter Kokot Date: Mon, 17 Sep 2018 00:00:51 +0000 (+0200) Subject: Remove HAVE_STDIO_H X-Git-Tag: php-7.4.0alpha1~1907 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba3bd4ae063103dd63e53a614dd714195a947898;p=php Remove HAVE_STDIO_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_STDIO_H` symbol defined by Autoconf [2] can be ommitted and simplifed. 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 --- diff --git a/ext/mbstring/libmbfl/config.h.w32 b/ext/mbstring/libmbfl/config.h.w32 index 6f3e726bc6..d32cafd2d0 100644 --- a/ext/mbstring/libmbfl/config.h.w32 +++ b/ext/mbstring/libmbfl/config.h.w32 @@ -1,4 +1,3 @@ -#define HAVE_STDIO_H 1 #define HAVE_MEMORY_H 1 /* #undef HAVE_STRINGS_H */ #define HAVE_STRING_H 1 diff --git a/sapi/fpm/config.m4 b/sapi/fpm/config.m4 index 967bc05c2e..77d10ae562 100644 --- a/sapi/fpm/config.m4 +++ b/sapi/fpm/config.m4 @@ -11,7 +11,7 @@ AC_DEFUN([AC_FPM_STDLIBS], AC_SEARCH_LIBS(socket, socket) AC_SEARCH_LIBS(inet_addr, nsl) - AC_CHECK_HEADERS([fcntl.h stdio.h unistd.h sys/uio.h]) + AC_CHECK_HEADERS([fcntl.h unistd.h sys/uio.h]) AC_CHECK_HEADERS([sys/select.h sys/socket.h sys/time.h]) AC_CHECK_HEADERS([arpa/inet.h netinet/in.h]) AC_CHECK_HEADERS([sysexits.h])