summaryrefslogtreecommitdiff
path: root/src/system/SocketUtil.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/system/SocketUtil.cxx')
-rw-r--r--src/system/SocketUtil.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/system/SocketUtil.cxx b/src/system/SocketUtil.cxx
index abaedb8e7..9c4002386 100644
--- a/src/system/SocketUtil.cxx
+++ b/src/system/SocketUtil.cxx
@@ -26,12 +26,12 @@
#include <unistd.h>
-#ifndef G_OS_WIN32
+#ifndef WIN32
#include <sys/socket.h>
-#else /* G_OS_WIN32 */
+#else
#include <ws2tcpip.h>
#include <winsock.h>
-#endif /* G_OS_WIN32 */
+#endif
#ifdef HAVE_IPV6
#include <string.h>