diff options
author | Max Kellermann <max@musicpd.org> | 2021-05-19 17:15:11 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-05-19 17:15:25 +0200 |
commit | 239a83324e8667fc0c6499543d680b8d53fe486a (patch) | |
tree | 671a8690dae0606874938b2971f618e2e4d329a6 | |
parent | 8efa5c76411775e5cd91855bdf17762e5e11df95 (diff) |
meson.build: document Windows definitions
-rw-r--r-- | meson.build | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 321615704..9dfbe84ca 100644 --- a/meson.build +++ b/meson.build @@ -140,10 +140,19 @@ endif if is_windows common_cppflags += [ - '-DWIN32_LEAN_AND_MEAN', + # enable Windows Vista APIs '-DWINVER=0x0600', '-D_WIN32_WINNT=0x0600', - '-DSTRICT', + + # enable Unicode support (TCHAR=wchar_t) in the Windows API (macro + # "UNICODE) and the C library (macro "_UNICODE") '-DUNICODE', '-D_UNICODE', + + # enable strict type checking in the Windows API headers + '-DSTRICT', + + # reduce header bloat by disabling obscure and obsolete Windows + # APIs + '-DWIN32_LEAN_AND_MEAN', ] subdir('win32') |