Fix winsock2.h compilation warnings
[novacoin.git] / src / compat.h
index 3caa90a..3c95e37 100644 (file)
@@ -12,6 +12,9 @@
 #define NOMINMAX
 #endif
 #ifndef _MSC_VER
+#ifdef FD_SETSIZE
+#undef FD_SETSIZE
+#endif
 #define FD_SETSIZE 1024 // max number of fds in fd_set
 #endif
 #include <winsock2.h>