diff options
Diffstat (limited to 'meson.build')
-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') |