2
0
Эх сурвалжийг харах

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

Ryan Crandall 7 жил өмнө
parent
commit
34203d5008

+ 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>