fix compilation error on win32 (hello stupid min/max macros in windows.h)
This commit is contained in:
parent
9936ac1c8b
commit
f8ac880767
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@
|
|||
# undef INADDR_ANY
|
||||
# undef INADDR_BROADCAST
|
||||
# undef INADDR_NONE
|
||||
# define NOMINMAX
|
||||
# include <windows.h>
|
||||
# define USE_SELECT 1
|
||||
typedef int socklen_t;
|
||||
|
|
Loading…
Add table
Reference in a new issue