From 00788416176a6f143e7a6484402d0ef8dd73f292 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Wed, 27 Nov 2013 16:13:04 +0100 Subject: [PATCH] prevent Windows redefinition warning cause by compat.h --- src/compat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compat.h b/src/compat.h index 1deef493c..f5e549d79 100644 --- a/src/compat.h +++ b/src/compat.h @@ -11,7 +11,9 @@ #undef _WIN32_WINNT #endif #define _WIN32_WINNT 0x0501 +#ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN 1 +#endif #ifndef NOMINMAX #define NOMINMAX #endif