From: Stefan Csomor Date: Fri, 23 Apr 2004 12:24:55 +0000 (+0000) Subject: added network-to-host noops X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3d640cfc403ebc5cd96c95f325057b709550c4d1?ds=inline added network-to-host noops git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/gsocket.c b/src/mac/carbon/gsocket.c index e88784d0bc..073d97c483 100644 --- a/src/mac/carbon/gsocket.c +++ b/src/mac/carbon/gsocket.c @@ -76,6 +76,13 @@ #endif /* __GSOCKET_STANDALONE__ */ +#ifndef ntohl +#define ntohl(x) (x) +#define ntohs(x) (x) +#define htonl(x) (x) +#define htons(x) (x) +#endif + void wxCYield() ; #ifdef __WXDEBUG__ #define qDebug 1