Selaa lähdekoodia

imgui_impl_win32: Don't redefine WIN32_LEAN_AND_MEAN if already defined (#2014)

Ryan Crandall 7 vuotta sitten
vanhempi
commit
34203d5008
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      examples/imgui_impl_win32.cpp

+ 2 - 0
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 <windows.h>
 #include <tchar.h>