From 34203d50089b52c7ee3bf6b2572f9a04856b6ef9 Mon Sep 17 00:00:00 2001 From: Ryan Crandall Date: Thu, 9 Aug 2018 08:32:31 -0700 Subject: [PATCH] imgui_impl_win32: Don't redefine WIN32_LEAN_AND_MEAN if already defined (#2014) --- examples/imgui_impl_win32.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/imgui_impl_win32.cpp b/examples/imgui_impl_win32.cpp index 86873084..e713b8d3 100644 --- a/examples/imgui_impl_win32.cpp +++ b/examples/imgui_impl_win32.cpp @@ -8,7 +8,9 @@ #include "imgui.h" #include "imgui_impl_win32.h" +#ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN +#endif #include #include