summaryrefslogtreecommitdiff
path: root/drivers/unix
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2018-10-25 10:59:26 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2018-10-29 12:54:51 -0300
commitfe93bb03fec293e3ef38c9b01dc0b10c857c1d21 (patch)
treec72c6d161f251f90a32249f8162a28a0453e4831 /drivers/unix
parent7a42df3626159d1d81d2b5aabf13f19ef1951976 (diff)
Server platform works on OS X too
Diffstat (limited to 'drivers/unix')
-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