From 9652efd107f3132e579784176581d962e955bc89 Mon Sep 17 00:00:00 2001 From: Max Kellermann <max@duempel.org> Date: Sun, 9 Oct 2011 17:52:56 +0200 Subject: don't define WINVER in *.c files In a C file, that is too late, because _mingw.h defaults to 0x0502, and ours would be illegal redefintion. --- src/socket_util.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/socket_util.c') diff --git a/src/socket_util.c b/src/socket_util.c index e08b60735..a06a0cbd5 100644 --- a/src/socket_util.c +++ b/src/socket_util.c @@ -27,7 +27,6 @@ #ifndef G_OS_WIN32 #include <sys/socket.h> #else /* G_OS_WIN32 */ -#define WINVER 0x0501 #include <ws2tcpip.h> #include <winsock.h> #endif /* G_OS_WIN32 */ -- cgit v1.2.3