Fix preprocessor conformance with MSVC

This commit is contained in:
William Roy 2022-09-26 19:52:57 +00:00
parent d5c60438d1
commit 872e04f94e

View File

@ -256,6 +256,7 @@ if cc.get_id() == 'msvc'
'-FImsvc_recommended_pragmas.h',
'-D_USE_MATH_DEFINES',
'-utf-8',
'-Zc:preprocessor'
]
add_project_arguments(cc.get_supported_arguments(test_cflags), language: 'c')