lots of mods getting windows to build under cygwin without visual studio.
[feisty_meow.git] / nucleus / library / filesystem / filename.h
index c1710c13e9328f66623abb911dfac745858468e6..d1f2fb4233253af5ccab6207da3853e46c2ac851 100644 (file)
@@ -27,6 +27,11 @@ class status_info;
 // define useful constant for filesystem path length.
 #ifndef MAX_ABS_PATH 
   #ifdef __WIN32__
+  // winsock support...
+  #undef FD_SETSIZE
+  #define FD_SETSIZE 1000
+    // if you don't set this, you can only select on a default of 64 sockets.
+  #include <winsock2.h>
     #include <windows.h>
     #define MAX_ABS_PATH MAX_PATH
   #else