(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:
parent
0b37d8f508
commit
940d35a71a
1 changed files with 1 additions and 1 deletions
|
@ -41,8 +41,8 @@
|
|||
#include <sys/types.h>
|
||||
#ifdef _WIN32
|
||||
#define WIN32
|
||||
#undef NS_ALL
|
||||
#include "winsock2.h"
|
||||
#undef NS_ALL
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue