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/main_win32.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/main_win32.c') diff --git a/src/main_win32.c b/src/main_win32.c index 543d8ba81..e1ddb53f5 100644 --- a/src/main_win32.c +++ b/src/main_win32.c @@ -27,7 +27,6 @@ #include -#define WINVER 0x0501 #include static int service_argc; -- cgit v1.2.3