Last active
January 17, 2018 12:36
-
-
Save jiixyj/a39b9fbafaf660235af06c563ef332d8 to your computer and use it in GitHub Desktop.
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
diff --git a/ClangPowerTools/ClangPowerTools/clang-build.ps1 b/ClangPowerTools/ClangPowerTools/clang-build.ps1 | |
index 26b7bbb..8522955 100644 | |
--- a/ClangPowerTools/ClangPowerTools/clang-build.ps1 | |
+++ b/ClangPowerTools/ClangPowerTools/clang-build.ps1 | |
@@ -1585,7 +1585,7 @@ Function Get-ProjectPreprocessorDefines() | |
# make sure we add the required prefix and escape double quotes | |
[string[]]$defines = ( $tokens | ` | |
Where-Object { $_ } | ` | |
- ForEach-Object { ($kClangDefinePrefix + $_) -replace '"','"""' } ) | |
+ ForEach-Object { ('"' + $kClangDefinePrefix + $_ + '"') } ) | |
if (Is-Project-Unicode) | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment