瀏覽代碼

do not assume _WIN32_WINNT hasn't been already defined

Joseph Lee 19 年之前
父節點
當前提交
20688bbae9
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      dtool/src/dtoolbase/dtoolbase.h

+ 3 - 0
dtool/src/dtoolbase/dtoolbase.h

@@ -81,6 +81,9 @@
   I'm smart enough to use GetProcAddress for backward compat on
   w95/w98 for newer fns
 */
+#ifdef _WIN32_WINNT
+#undef _WIN32_WINNT
+#endif
 #define _WIN32_WINNT 0x0502
 
 #include "dtoolsymbols.h"