[gtk: 1/3] Fix preprocessor conformance with MSVC
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/3] Fix preprocessor conformance with MSVC
- Date: Wed, 28 Sep 2022 01:39:17 +0000 (UTC)
commit 872e04f94eb61e213ad586072aee42e9b5ba38ed
Author: William Roy <wroy proton me>
Date: Mon Sep 26 19:52:57 2022 +0000
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')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]