We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d39ea4 commit 52871d8Copy full SHA for 52871d8
ext/sockets/sockets.c
@@ -482,7 +482,7 @@ static PHP_MINIT_FUNCTION(sockets)
482
REGISTER_LONG_CONSTANT("MSG_TRUNC", MSG_TRUNC, CONST_CS | CONST_PERSISTENT);
483
REGISTER_LONG_CONSTANT("MSG_PEEK", MSG_PEEK, CONST_CS | CONST_PERSISTENT);
484
REGISTER_LONG_CONSTANT("MSG_DONTROUTE", MSG_DONTROUTE, CONST_CS | CONST_PERSISTENT);
485
-#ifdef MSG_EOR
+#if defined(MSG_EOR) && !defined(__APPLE__)
486
REGISTER_LONG_CONSTANT("MSG_EOR", MSG_EOR, CONST_CS | CONST_PERSISTENT);
487
#endif
488
#ifdef MSG_EOF
0 commit comments