summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-10-29 21:25:46 +0100
committerGitHub <noreply@github.com>2018-10-29 21:25:46 +0100
commit4d9b8a98ba1bdd2bc7d80f4ab61061c07298fd15 (patch)
tree30800f17fcf1f229ce46a743320b5eb18177ba87 /drivers
parente647342140d8eb960b2a72d83b4b86e43aef4fc7 (diff)
parentfe93bb03fec293e3ef38c9b01dc0b10c857c1d21 (diff)
Merge pull request #23279 from marcelofg55/osx_server
Server platform works on OS X too
Diffstat (limited to 'drivers')
-rw-r--r--drivers/unix/net_socket_posix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/net_socket_posix.cpp b/drivers/unix/net_socket_posix.cpp
index 2cc2032cbb..f981be66ce 100644
--- a/drivers/unix/net_socket_posix.cpp
+++ b/drivers/unix/net_socket_posix.cpp
@@ -55,7 +55,7 @@
#include <netinet/tcp.h>
-#if defined(OSX_ENABLED) || defined(IPHONE_ENABLED)
+#if defined(__APPLE__)
#define MSG_NOSIGNAL SO_NOSIGPIPE
#endif