mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-20 05:50:10 +01:00
Meson: Define _CRT_SECURE_NO_WARNINGS when compiling with MSVC
This commit is contained in:
parent
481c6c78bd
commit
51be2591fe
1 changed files with 1 additions and 0 deletions
|
|
@ -98,6 +98,7 @@ if cc.get_id() == 'msvc'
|
|||
# Don't warn about _cairo_status -> _cairo_int_status conversion
|
||||
'/wd5286',
|
||||
language : ['c', 'cpp'])
|
||||
add_project_arguments('-D_CRT_SECURE_NO_WARNINGS', language : ['c', 'cpp'])
|
||||
endif
|
||||
|
||||
add_project_arguments('-D_GNU_SOURCE', language: ['c', 'cpp'])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue