diff options
author | Max Kellermann <max@duempel.org> | 2013-10-15 08:33:44 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-15 08:33:44 +0200 |
commit | e4e80ff0cb2dc269bf56b5eb96571b681edeed05 (patch) | |
tree | dd16a411aa84843a1ee205fd4efc362f76c8d57b /src/system | |
parent | 9508ea982b8feb012a9d354a7c80005421a854bc (diff) | |
download | mpd-e4e80ff0cb2dc269bf56b5eb96571b681edeed05.tar.gz mpd-e4e80ff0cb2dc269bf56b5eb96571b681edeed05.tar.xz mpd-e4e80ff0cb2dc269bf56b5eb96571b681edeed05.zip |
*: use WIN32 instead of G_OS_WIN32
Diffstat (limited to 'src/system')
-rw-r--r-- | src/system/Resolver.cxx | 6 | ||||
-rw-r--r-- | src/system/SocketUtil.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/system/Resolver.cxx b/src/system/Resolver.cxx index 51a5b1ed7..656de1349 100644 --- a/src/system/Resolver.cxx +++ b/src/system/Resolver.cxx @@ -24,13 +24,13 @@ #include <glib.h> -#ifndef G_OS_WIN32 +#ifndef WIN32 #include <sys/socket.h> #include <netdb.h> -#else /* G_OS_WIN32 */ +#else #include <ws2tcpip.h> #include <winsock.h> -#endif /* G_OS_WIN32 */ +#endif #include <string.h> #include <stdio.h> 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> |