]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/socket_private.h
Use the correct #ifdef for Windows
[libs/net.git] / source / net / socket_private.h
index fc8b23be4cf118d6e984f89735b43fc5c0345169..995ead0f3951b88bff1462d1cea515b97de10278 100644 (file)
@@ -7,13 +7,13 @@
 namespace Msp {
 namespace Net {
 
-#ifdef WIN32
+#ifdef _WIN32
 typedef int socklen_t;
 #endif
 
 struct Socket::Private
 {
-#ifdef WIN32
+#ifdef _WIN32
        SOCKET handle;
 #else
        int handle;