Skip to content

Commit 53299d6

Browse files
committed
Remove unused MISSING_MSGHDR_MSGFLAGS
Closes GH-4426
1 parent daa243d commit 53299d6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ext/sockets/config.m4

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ PHP_ARG_ENABLE([sockets],
66
if test "$PHP_SOCKETS" != "no"; then
77
AC_CHECK_FUNCS([hstrerror if_nametoindex if_indextoname])
88
AC_CHECK_HEADERS([netinet/tcp.h sys/un.h sys/sockio.h])
9-
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
10-
#include <sys/types.h>
11-
#include <sys/socket.h>
12-
]], [[static struct msghdr tp; int n = (int) tp.msg_flags; return n]])],[],
13-
[AC_DEFINE(MISSING_MSGHDR_MSGFLAGS, 1, [ ])]
14-
)
159
AC_DEFINE([HAVE_SOCKETS], 1, [ ])
1610

1711
dnl Check for fied ss_family in sockaddr_storage (missing in AIX until 5.3)

0 commit comments

Comments
 (0)