From: William Roy Date: Mon, 26 Sep 2022 19:52:57 +0000 (+0000) Subject: Fix preprocessor conformance with MSVC X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~20^2~1^2~19^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=872e04f94eb61e213ad586072aee42e9b5ba38ed;p=gtk4.git Fix preprocessor conformance with MSVC --- 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')