From c30c46cd5f0d1f857fc38a335ca499cc024e0c80 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 13 Oct 2011 09:23:32 +0200 Subject: configure.ac: define WINVER Ensure that WINVER is defined early enough, so other system headers won't fall back to their default value. Specifically, this solves a build failure (-Werror) with mingw-w64 ("WINVER redefined"). --- 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 3f7075ed3..d1651066f 100644 --- a/src/socket_util.c +++ b/src/socket_util.c @@ -28,7 +28,6 @@ #include #include #else /* G_OS_WIN32 */ -#define WINVER 0x0501 #include #include #endif /* G_OS_WIN32 */ -- cgit v1.2.3