mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
msbuild: allow _WIN32_WINNT to be naturally defined by headers
This commit is contained in:
@ -68,16 +68,6 @@
|
|||||||
Make sure we include a clean version of windows.h.
|
Make sure we include a clean version of windows.h.
|
||||||
-->
|
-->
|
||||||
<PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<!--
|
|
||||||
This numeral indicates the "minimum system required" to run the resulting
|
|
||||||
program. Dolphin targets Vista+, so it should be 0x0600. However in practice,
|
|
||||||
_WIN32_WINNT just removes up-level API declarations from headers. This is a
|
|
||||||
problem for XInput, where Dolphin expects to compile against the Win8+
|
|
||||||
versions of the headers. So while we really need Vista+ level of support,
|
|
||||||
we declare Win8+ here globally. If this becomes a problem, the higher
|
|
||||||
declaration can be contained to just the XInput related code.
|
|
||||||
-->
|
|
||||||
<PreprocessorDefinitions>_WIN32_WINNT=0x0602;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<WarningLevel>Level4</WarningLevel>
|
<WarningLevel>Level4</WarningLevel>
|
||||||
<TreatWarningAsError>true</TreatWarningAsError>
|
<TreatWarningAsError>true</TreatWarningAsError>
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
Reference in New Issue
Block a user