(tcp_listen) [_WIN32]: Move the undef NS_ALL to after include winsock2.h.

The undef is present to prevent namespace conflict the selector code.
This commit is contained in:
Ron Koenderink 2006-01-01 20:38:21 +00:00
parent 0b37d8f508
commit 940d35a71a

View file

@ -41,8 +41,8 @@
#include <sys/types.h> #include <sys/types.h>
#ifdef _WIN32 #ifdef _WIN32
#define WIN32 #define WIN32
#undef NS_ALL
#include "winsock2.h" #include "winsock2.h"
#undef NS_ALL
#else #else
#include <sys/socket.h> #include <sys/socket.h>
#include <netdb.h> #include <netdb.h>