]> granicus.if.org Git - php/commitdiff
Remove unused MISSING_MSGHDR_MSGFLAGS
authorPeter Kokot <peterkokot@gmail.com>
Thu, 18 Jul 2019 00:17:14 +0000 (02:17 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Thu, 18 Jul 2019 00:17:14 +0000 (02:17 +0200)
Closes GH-4426

ext/sockets/config.m4

index 71722d94c6ee8db519be08652c1daa9b8640834b..b78186ee11ba65fe4185465ff85d44ab8d2ba2ce 100644 (file)
@@ -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 <sys/types.h>
-#include <sys/socket.h>
-  ]], [[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)