Skip to content

Commit ba3bd4a

Browse files
committed
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
1 parent 03bbdf2 commit ba3bd4a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ext/mbstring/libmbfl/config.h.w32

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#define HAVE_STDIO_H 1
21
#define HAVE_MEMORY_H 1
32
/* #undef HAVE_STRINGS_H */
43
#define HAVE_STRING_H 1

sapi/fpm/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ AC_DEFUN([AC_FPM_STDLIBS],
1111
AC_SEARCH_LIBS(socket, socket)
1212
AC_SEARCH_LIBS(inet_addr, nsl)
1313
14-
AC_CHECK_HEADERS([fcntl.h stdio.h unistd.h sys/uio.h])
14+
AC_CHECK_HEADERS([fcntl.h unistd.h sys/uio.h])
1515
AC_CHECK_HEADERS([sys/select.h sys/socket.h sys/time.h])
1616
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h])
1717
AC_CHECK_HEADERS([sysexits.h])

0 commit comments

Comments
 (0)