]> git.pond.sub.org Git - empserver/commitdiff
(tcp_listen) [_WIN32]: Move the undef NS_ALL to after include winsock2.h.
authorRon Koenderink <rkoenderink@yahoo.ca>
Sun, 1 Jan 2006 20:38:21 +0000 (20:38 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Sun, 1 Jan 2006 20:38:21 +0000 (20:38 +0000)
The undef is present to prevent namespace conflict the selector code.

src/lib/gen/tcp_listen.c

index ecdd37536ba6daa79e9aa98b2260b5d151044b3c..b294a61fd47a61fd1a64136206496ededef2d3f2 100644 (file)
@@ -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>