X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b97e22c0ca7469762e422960245009648b0e0edf..94e2ed3b8db0220160c0b939782cd46914ec073a:/src/mac/gsocket.c?ds=sidebyside diff --git a/src/mac/gsocket.c b/src/mac/gsocket.c index 20e4049f58..10ee5d838d 100644 --- a/src/mac/gsocket.c +++ b/src/mac/gsocket.c @@ -19,7 +19,7 @@ #if wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) -#ifdef __UNIX__ +#ifdef __DARWIN__ #include #ifndef FALSE @@ -80,7 +80,7 @@ void wxCYield() ; #define qDebug2 1 extern pascal void OTDebugStr(const char* str); #endif -#ifndef __UNIX__ +#ifndef __DARWIN__ #include #endif InetSvcRef gInetSvcRef = 0 ; @@ -121,7 +121,7 @@ OSStatus DoNegotiateIPReuseAddrOption(EndpointRef ep, Boolean enableReuseIPMode) ret.opt.maxlen = kOTFourByteOptionSize; opt->level = INET_IP; // dealing with an IP Level function -#ifdef __UNIX__ +#ifdef __DARWIN__ opt->name = kIP_REUSEADDR; #else opt->name = IP_REUSEADDR;