X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b97e22c0ca7469762e422960245009648b0e0edf..f35719ef1d3b34fb42ebfab33944ea9cdc4413eb:/src/mac/carbon/gsocket.c diff --git a/src/mac/carbon/gsocket.c b/src/mac/carbon/gsocket.c index 20e4049f58..10ee5d838d 100644 --- a/src/mac/carbon/gsocket.c +++ b/src/mac/carbon/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;