From 3920172821c2ad7862c2e4dab4d45adb1356a724 Mon Sep 17 00:00:00 2001 From: Gilad Benjamini Date: Fri, 13 Aug 2010 17:19:18 -0400 Subject: [PATCH] Make definition of WIN32_LEAN_AND_MEAN in event.h conditional. (Inclusion order might trigger a warning for redefinition on Windows.) --- event.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/event.h b/event.h index 3f083c86..e75e0756 100644 --- a/event.h +++ b/event.h @@ -178,7 +178,9 @@ extern "C" { #include #ifdef WIN32 +#ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN +#endif #include #include #undef WIN32_LEAN_AND_MEAN -- 2.40.0