projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5c6043
)
Fix preprocessor conformance with MSVC
author
William Roy
<wroy@proton.me>
Mon, 26 Sep 2022 19:52:57 +0000
(19:52 +0000)
committer
William Roy
<wroy@proton.me>
Mon, 26 Sep 2022 19:52:57 +0000
(19:52 +0000)
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index 1f3ac591f31bfe737d95358697421144279dec2f..035efb24222d4f52f4aa63eac20bb89e067a4938 100644
(file)
--- 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')