git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix winsock2.h compilation warnings
[novacoin.git]
/
src
/
compat.h
diff --git
a/src/compat.h
b/src/compat.h
index
3caa90a
..
3c95e37
100644
(file)
--- a/
src/compat.h
+++ b/
src/compat.h
@@
-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>