X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb606749b3bc15f680f541c38f1d0f47d65a4504..c4e387521b7297a24e4aa016b588cf77d32d1b5f:/src/mac/gsocket.c?ds=inline diff --git a/src/mac/gsocket.c b/src/mac/gsocket.c index ef89f1a511..bbeaa29fcf 100644 --- a/src/mac/gsocket.c +++ b/src/mac/gsocket.c @@ -15,6 +15,7 @@ #ifndef __GSOCKET_STANDALONE__ #include "wx/setup.h" +#include "wx/platform.h" #endif #if wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) @@ -29,6 +30,7 @@ #define TRUE 1 #endif #else + #include #define OTUNIXERRORS 1 #include #include @@ -1648,10 +1650,12 @@ void _GSocket_Internal_Proc(unsigned long e , void* d ) /* Hack added for Mac OS X */ GSocketError GAddress_UNIX_GetPath(GAddress *addr, char *path, size_t buf) { + return GSOCK_INVADDR; } GSocketError GAddress_UNIX_SetPath(GAddress *addr, const char *path) { + return GSOCK_INVADDR; } #endif /* wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) */