diff options
| author | Martin Ridgers <[email protected]> | 2021-10-25 22:38:47 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-10-25 22:50:44 +0200 |
| commit | b5012d203fc1e2a5ed93221035a1045cac6415f6 (patch) | |
| tree | 26cbcd3a7937df0f53b1e2b8ced1a599a8413485 /xmake.lua | |
| parent | Missing include for std::min/max (diff) | |
| download | zen-b5012d203fc1e2a5ed93221035a1045cac6415f6.tar.xz zen-b5012d203fc1e2a5ed93221035a1045cac6415f6.zip | |
Define NOMINMAX and WIN32_MEAN_AND_LEAN via xmake.lua too
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,8 @@ if is_os("windows") then "_UNICODE", "UNICODE", "_CONSOLE", + "NOMINMAX", -- stop Windows SDK defining 'min' and 'max' + "WIN32_LEAN_AND_MEAN", -- cut down Windows.h "_WIN32_WINNT=0x0A00" ) -- add_ldflags("/MAP") |