Browse Source

fix default mingw make

Pal Lockheart 7 years ago
parent
commit
314edd2fe9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      win32/win32.cpp

+ 1 - 1
win32/win32.cpp

@@ -270,7 +270,7 @@ extern "C" int UTIL_Platform_Init(int argc, char* argv[])
 #endif
 
 	g_hInstance = GetModuleHandle(nullptr);
-#if !defined(__MINGW32__) || _WIN32_WINNT > _WIN32_WINNT_WINXP // compile time switch; make  CCFLAGS=-D_WIN32_WINNT=0x600 for vista+ only automatic language detection, else(default) XP compatible but english only.
+#if !defined(__MINGW32__) || _WIN32_WINNT > _WIN32_WINNT_WS03 // compile time switch; make  CCFLAGS=-D_WIN32_WINNT=0x600 for vista+ only automatic language detection, else(default) XP compatible but english only.
 	g_wLanguage = GetThreadUILanguage();
 	if (PRIMARYLANGID(g_wLanguage) == LANG_CHINESE)
 	{