]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/cfsocket.cpp
fix more unused parameters and variables warnings
[wxWidgets.git] / src / mac / carbon / cfsocket.cpp
index cfeb84963a6efa0e1068dca1b3a110bbb4071edd..8a2383c7f5772a075bbf356a0cc7310a42f04f10 100644 (file)
     #include "wx/event.h"
     #include "wx/app.h"
     #include "wx/utils.h"
+    #include "wx/timer.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/apptrait.h"
-#include "wx/timer.h"
-#include "wx/module.h"
 
 #include "wx/sckaddr.h"
 #include "wx/mac/carbon/private.h"
@@ -1562,6 +1562,11 @@ GSocketError GAddress_INET_SetHostName(GAddress *address, const char *hostname)
   return GSOCK_NOERROR;
 }
 
+GSocketError GAddress_INET_SetBroadcastAddress(GAddress *address)
+{
+  return GAddress_INET_SetHostAddress(address, INADDR_BROADCAST);
+}
+
 GSocketError GAddress_INET_SetAnyAddress(GAddress *address)
 {
   return GAddress_INET_SetHostAddress(address, INADDR_ANY);