From 872e04f94eb61e213ad586072aee42e9b5ba38ed Mon Sep 17 00:00:00 2001 From: William Roy Date: Mon, 26 Sep 2022 19:52:57 +0000 Subject: [PATCH] Fix preprocessor conformance with MSVC --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 1f3ac591f3..035efb2422 100644 --- a/meson.build +++ b/meson.build @@ -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')