From 53299d610a99e817483bb2a632fc44c404b36370 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 18 Jul 2019 02:17:14 +0200 Subject: [PATCH 1/2] Remove unused MISSING_MSGHDR_MSGFLAGS Closes GH-4426 --- ext/sockets/config.m4 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ext/sockets/config.m4 b/ext/sockets/config.m4 index 71722d94c6e..b78186ee11b 100644 --- a/ext/sockets/config.m4 +++ b/ext/sockets/config.m4 @@ -6,12 +6,6 @@ PHP_ARG_ENABLE([sockets], if test "$PHP_SOCKETS" != "no"; then AC_CHECK_FUNCS([hstrerror if_nametoindex if_indextoname]) AC_CHECK_HEADERS([netinet/tcp.h sys/un.h sys/sockio.h]) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include -#include - ]], [[static struct msghdr tp; int n = (int) tp.msg_flags; return n]])],[], - [AC_DEFINE(MISSING_MSGHDR_MSGFLAGS, 1, [ ])] - ) AC_DEFINE([HAVE_SOCKETS], 1, [ ]) dnl Check for fied ss_family in sockaddr_storage (missing in AIX until 5.3) From 7dc6c3960b201ed7643fd14f902b08ae108dd445 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 18 Jul 2019 02:18:14 +0200 Subject: [PATCH 2/2] Update changelog --- UPGRADING.INTERNALS | 1 + 1 file changed, 1 insertion(+) diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 0e0e1b7d058..ad7b6817ad9 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -300,6 +300,7 @@ PHP 7.4 INTERNALS UPGRADE NOTES --enable-option-checking=fatal option can be used in the configure step to enable error when invalid options are used. - Removed unused check and symbols HAVE_SHM_MMAP_ZERO, HAVE_SHM_MMAP_FILE. + - Removed unused check and symbol MISSING_MSGHDR_MSGFLAGS. c. Windows build system changes