meson.build: disable Windows header features not needed by MPD
This commit is contained in:
parent
239a83324e
commit
a6cb3139db
|
@ -153,6 +153,12 @@ if is_windows
|
||||||
# reduce header bloat by disabling obscure and obsolete Windows
|
# reduce header bloat by disabling obscure and obsolete Windows
|
||||||
# APIs
|
# APIs
|
||||||
'-DWIN32_LEAN_AND_MEAN',
|
'-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')
|
subdir('win32')
|
||||||
|
|
Loading…
Reference in New Issue