瀏覽代碼

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

Ryan Crandall 7 年之前
父節點
當前提交
34203d5008
共有 1 個文件被更改,包括 2 次插入0 次删除
  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>