Skip to content
Permalink
Browse files

Set _WIN32_WINNT to _WIN32_WINNT_WIN7 in premake5.lua

  • Loading branch information...
botder committed Aug 1, 2019
1 parent 01267f3 commit 4e0b185c52d15cec408129adef26447d18537911
Showing with 4 additions and 2 deletions.
  1. +0 −1 Client/cefweb/premake5.lua
  2. +0 −1 Client/core/premake5.lua
  3. +4 −0 premake5.lua
@@ -42,7 +42,6 @@ project "Client Webbrowser"
}

defines {
"_WIN32_WINNT=0x502",
"PSAPI_VERSION=1"
}

@@ -54,7 +54,6 @@ project "Client Core"

defines {
"INITGUID",
"_WIN32_WINNT=0x502",
"PNG_SETJMP_NOT_SUPPORTED"
}

@@ -87,6 +87,10 @@ workspace "MTASA"

filter {"system:windows", "toolset:*_xp*"}
buildoptions { "/Zc:threadSafeInit-" } -- Fix Windows XP not initialising TLS early
defines { "_WIN32_WINNT=0x502" } -- _WIN32_WINNT_WS03 (Windows Server 2003)

filter {"system:windows", "toolset:not *_xp*"}
defines { "_WIN32_WINNT=0x601" } -- _WIN32_WINNT_WIN7 (Windows 7)

filter "system:windows"
toolset "v141"

0 comments on commit 4e0b185

Please sign in to comment.
You can’t perform that action at this time.