meson: define WINRT_NO_SOURCE_LOCATION

Not really needed currently for our limited use of winrt.
This commit is contained in:
Kacper Michajłow 2024-06-11 12:46:02 +02:00
parent 5bb467e58a
commit 2ad6566e51
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ mswin_flags = ['-D_WIN32_WINNT=0x0602', '-DWINVER=0x0602', '-DUNICODE',
'-DCOBJMACROS', '-DINITGUID', '-DNOMINMAX',
'-D_USE_MATH_DEFINES', '-DWIN32_LEAN_AND_MEAN',
'-D_CRT_DECLARE_NONSTDC_NAMES', '-D_CRT_NONSTDC_NO_WARNINGS',
'-D_CRT_SECURE_NO_WARNINGS']
'-D_CRT_SECURE_NO_WARNINGS', '-DWINRT_NO_SOURCE_LOCATION']
if host_machine.system() == 'windows'
flags += [mswin_flags]