]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/gsocket.c
removed a condition (l. 124) that always eval to true
[wxWidgets.git] / src / os2 / gsocket.c
index cccf54e43300c532072a9a1156a9034da566988c..0ea14036b81d920ba78b201778abd4165fd95857 100644 (file)
@@ -11,7 +11,7 @@
 
 #if wxUSE_SOCKETS
 
-#define BSD_SELECT // use Berkley Sockets select
+#define BSD_SELECT /* use Berkley Sockets select */
 
 #include <assert.h>
 #include <sys\types.h>
 #include <sys\socket.h>
 #include <sys\ioctl.h>
 #include <sys\select.h>
+#define select(a,b,c,d,e) bsdselect(a,b,c,d,e)
+int _System bsdselect(int,
+                      struct fd_set *,
+                      struct fd_set *,
+                      struct fd_set *,
+                      struct timeval *);
+int _System soclose(int);
 #endif
 
 #include <string.h>