diff options
author | Max Kellermann <max@musicpd.org> | 2021-05-19 16:22:27 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-05-19 17:16:16 +0200 |
commit | a6cb3139dbeac6ecd71d33c42a90a57148f290ff (patch) | |
tree | 8f74cad7abbcf0c723d97c545c6935b95af5f94d /meson.build | |
parent | 239a83324e8667fc0c6499543d680b8d53fe486a (diff) |
meson.build: disable Windows header features not needed by MPD
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 9dfbe84ca..2bbb75255 100644 --- a/meson.build +++ b/meson.build @@ -153,6 +153,12 @@ if is_windows # reduce header bloat by disabling obscure and obsolete Windows # APIs '-DWIN32_LEAN_AND_MEAN', + + # disable more Windows APIs which are not used by MPD + '-DNOGDI', '-DNOBITMAP', '-DNOCOMM', + + # disable Internet Explorer specific APIs + '-D_WIN32_IE=0', ] subdir('win32') |