Meson: Define _WIN32_WINNT in the toplevel meson.build file
This commit is contained in:
@@ -62,7 +62,8 @@ add_project_arguments('-D_GNU_SOURCE', language: 'c')
|
||||
|
||||
if host_machine.system() == 'windows'
|
||||
add_project_arguments(['-DUNICODE',
|
||||
'-D_UNICODE'], language: 'c')
|
||||
'-D_UNICODE',
|
||||
'-D_WIN32_WINNT=_WIN32_WINNT_WIN7'], language: 'c')
|
||||
endif
|
||||
|
||||
# Use debug/optimization flags to determine whether to enable debug or disable
|
||||
|
||||
Reference in New Issue
Block a user