This checking isn't necessary because MSVC for Unix doesn't exist.
authorMASM fan <masmfan@gmail.com>
Fri, 7 Nov 2014 21:29:50 +0000 (01:29 +0400)
committerMASM fan <masmfan@gmail.com>
Fri, 7 Nov 2014 21:29:50 +0000 (01:29 +0400)
src/compat.h

index 87ad6f8..3caa90a 100644 (file)
 #include <net/if.h>
 #include <netinet/in.h>
 #include <ifaddrs.h>
-#endif
 
-#ifndef _MSC_VER
 typedef u_int SOCKET;
 #endif
+
 #ifdef WIN32
 #define MSG_NOSIGNAL        0
 #define MSG_DONTWAIT        0