nix-super/build-utils-meson/windows-version/meson.build

7 lines
316 B
Meson
Raw Normal View History

2024-11-05 14:36:02 +02:00
if host_machine.system() == 'windows'
# https://learn.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170
# #define _WIN32_WINNT_WIN8 0x0602
# We currently don't use any API which requires higher than this.
add_project_arguments([ '-D_WIN32_WINNT=0x0602' ], language: 'cpp')
endif