Kacper Michajłow 2024-05-01 19:07:44 +02:00
parent 94eb07e3ea
commit e1e09938c5
1 changed files with 3 additions and 1 deletions

View File

@ -312,7 +312,9 @@ features += {'dos-paths': win32, 'win32': win32}
mswin_flags = ['-D_WIN32_WINNT=0x0602', '-DWINVER=0x0602', '-DUNICODE',
'-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-DNOMINMAX',
'-D_USE_MATH_DEFINES', '-DWIN32_LEAN_AND_MEAN']
'-D_USE_MATH_DEFINES', '-DWIN32_LEAN_AND_MEAN',
'-D_CRT_DECLARE_NONSTDC_NAMES', '-D_CRT_NONSTDC_NO_WARNINGS',
'-D_CRT_SECURE_NO_WARNINGS']
if host_machine.system() == 'windows'
flags += [mswin_flags]