From 2ad6566e515cd48a42a658d9b8fe81e96f86a3de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Tue, 11 Jun 2024 12:46:02 +0200 Subject: [PATCH] meson: define WINRT_NO_SOURCE_LOCATION Not really needed currently for our limited use of winrt. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index cc96dc1249..bc6d79aef3 100644 --- a/meson.build +++ b/meson.build @@ -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]