mirror of https://github.com/mpv-player/mpv
meson: define WINRT_NO_SOURCE_LOCATION
Not really needed currently for our limited use of winrt.
This commit is contained in:
parent
5bb467e58a
commit
2ad6566e51
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue