Skip to content

Commit

Permalink
Disable Windows XP compat. (HaxeFoundation#984)
Browse files Browse the repository at this point in the history
Can still be enabled with `HXCPP_WINXP_COMPAT`.
Required for HaxeFoundation/haxe#10503.
  • Loading branch information
Apprentice-Alchemist authored Feb 14, 2022
1 parent 80250f9 commit 673981c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion docs/build_xml/Defines.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ Defines affecting target architecture.
| *mingw* | Compile for windows using mingw |
| *HXCPP_MINGW* | Compile for windows using mingw |
| *NO_AUTO_MSVC* | Do not detect msvc location, use the one already in the executable path |

| *HXCPP_WINXP_COMPAT* | Remain compatible with Windows XP. Disables condition variables. No effect on ARM. |
6 changes: 0 additions & 6 deletions toolchain/finish-setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@
<set name="HX_TARGET_PREFIX" value="${LIBPREFIX}" />

<section if="isMsvc">
<section unless="HXCPP_M64">
<set name="HXCPP_NO_WINXP_COMPAT" value="1" if="HX_WINRT || winrt" />
<set name="HXCPP_WINXP_COMPAT" value="1" unless="HXCPP_NO_WINXP_COMPAT" />
</section>
<setup name="msvc"/>

<section if="static_link" >
Expand All @@ -122,5 +118,3 @@
</section>
</section>
</xml>


0 comments on commit 673981c

Please sign in to comment.