diff options
| author | Martin Ridgers <[email protected]> | 2021-10-25 22:40:54 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-10-25 22:50:44 +0200 |
| commit | 06a5e7af2d529c117b9046df2563c965cb4b9fbf (patch) | |
| tree | 6f23f2ab38bbb209fdeeb0f9548c224c692816c2 /xmake.lua | |
| parent | Define the cut-down Windows defines via zencore.h too (diff) | |
| download | zen-06a5e7af2d529c117b9046df2563c965cb4b9fbf.tar.xz zen-06a5e7af2d529c117b9046df2563c965cb4b9fbf.zip | |
Prevent GetObject from being defined as a macro by Windows.h
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -45,6 +45,7 @@ if is_os("windows") then "UNICODE", "_CONSOLE", "NOMINMAX", -- stop Windows SDK defining 'min' and 'max' + "NOGDI", -- otherwise Windows.h defines 'GetObject' "WIN32_LEAN_AND_MEAN", -- cut down Windows.h "_WIN32_WINNT=0x0A00" ) |