Skip to content

Commit 5304abb

Browse files
committed
Revert "MSG_EOR is not supported on MacOS even if defined"
This reverts commit 52871d8.
1 parent 52871d8 commit 5304abb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/sockets/sockets.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ static PHP_MINIT_FUNCTION(sockets)
482482
REGISTER_LONG_CONSTANT("MSG_TRUNC", MSG_TRUNC, CONST_CS | CONST_PERSISTENT);
483483
REGISTER_LONG_CONSTANT("MSG_PEEK", MSG_PEEK, CONST_CS | CONST_PERSISTENT);
484484
REGISTER_LONG_CONSTANT("MSG_DONTROUTE", MSG_DONTROUTE, CONST_CS | CONST_PERSISTENT);
485-
#if defined(MSG_EOR) && !defined(__APPLE__)
485+
#ifdef MSG_EOR
486486
REGISTER_LONG_CONSTANT("MSG_EOR", MSG_EOR, CONST_CS | CONST_PERSISTENT);
487487
#endif
488488
#ifdef MSG_EOF

0 commit comments

Comments
 (0)