-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fontconfig] fix preprocessor for clang-cl (#26052)
* fix fontconfig for clang-cl * v db
- Loading branch information
Showing
5 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/meson.build b/src/meson.build | ||
index 9a6ba2021..5d04f7360 100644 | ||
--- a/src/meson.build | ||
+++ b/src/meson.build | ||
@@ -33,7 +33,7 @@ fc_sources = [ | ||
cpp = cc.cmd_array() | ||
if cc.get_id() == 'gcc' | ||
cpp += ['-E', '-P'] | ||
-elif cc.get_id() == 'msvc' | ||
+elif cc.get_argument_syntax() == 'msvc' | ||
cpp += ['/EP'] | ||
elif cc.get_id() == 'clang' | ||
cpp += ['-E', '-P'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters