com php-src: Remove HAVE_STDIO_H: ext/mbstring/libmbfl/ config.h.w32 sapi/fpm/config.m4

From: Date: Mon, 17 Sep 2018 00:00:51 +0000
Subject: com php-src: Remove HAVE_STDIO_H: ext/mbstring/libmbfl/ config.h.w32 sapi/fpm/config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-103125@lists.php.net to get a copy of this message
Commit: ba3bd4ae063103dd63e53a614dd714195a947898 Author: Peter Kokot <peterkokot@gmail.com> Mon, 17 Sep 2018 02:00:51 +0200 Parents: 03bbdf275a7ed627f178160c91f7b101900f9b82 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ba3bd4ae063103dd63e53a614dd714195a947898 Log: Remove HAVE_STDIO_H The <stdio..h> 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 Bugs: https://bugs.php.net/4 Changed paths: M ext/mbstring/libmbfl/config.h.w32 M sapi/fpm/config.m4 Diff: diff --git a/ext/mbstring/libmbfl/config.h.w32 b/ext/mbstring/libmbfl/config.h.w32 index 6f3e726..d32cafd 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 967bc05..77d10ae 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])

« previous php.cvs (#103125) next »