]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/gsocket.c
some harmless warning fixes
[wxWidgets.git] / src / mac / gsocket.c
index 7fed13e8c4f1783ab75733fdf239220470788c8a..bbeaa29fcf83dc7d16dbccb30b6aeefcd0fc67e0 100644 (file)
@@ -15,6 +15,7 @@
 
 #ifndef __GSOCKET_STANDALONE__
 #include "wx/setup.h"
+#include "wx/platform.h"
 #endif
 
 #if wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__)
@@ -1649,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__) */