fix compilation error on win32 (hello stupid min/max macros in windows.h)

This commit is contained in:
Tomasz Śniatowski 2009-02-22 16:29:31 +01:00
parent 9936ac1c8b
commit f8ac880767

View file

@ -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;