From a6cb3139dbeac6ecd71d33c42a90a57148f290ff Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 19 May 2021 16:22:27 +0200 Subject: [PATCH] meson.build: disable Windows header features not needed by MPD --- meson.build | 6 ++++++ 1 file changed, 6 insertions(+) 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')