X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b97e22c0ca7469762e422960245009648b0e0edf..6443de026310552cacd68a6d0318e73d14929680:/src/mac/gsocket.c 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;