From e21b33e9cfe12725de23bf2ef44967f53bcb2a10 Mon Sep 17 00:00:00 2001 From: malosek Date: Tue, 5 Jan 2010 18:34:27 +0100 Subject: forced WINVER to 0x0501 for mingv32 build --- src/windows.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/windows.hpp b/src/windows.hpp index 472b9c1..7cb9291 100644 --- a/src/windows.hpp +++ b/src/windows.hpp @@ -40,9 +40,10 @@ #endif #ifdef ZMQ_HAVE_MINGW32 -#ifndef WINVER -#define WINVER 0x0501 +#ifdef WINVER +#undef WINVER #endif +#define WINVER 0x0501 #endif #include -- cgit v1.2.3