mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-25 19:43:19 -05:00
vcxproj: avoid escaping double quotes in the defines
Visual Studio 2022 does not like that at all. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -88,6 +88,7 @@ sub createProject {
|
|||||||
$defines =~ s/</</g;
|
$defines =~ s/</</g;
|
||||||
$defines =~ s/>/>/g;
|
$defines =~ s/>/>/g;
|
||||||
$defines =~ s/\'//g;
|
$defines =~ s/\'//g;
|
||||||
|
$defines =~ s/\\"/"/g;
|
||||||
|
|
||||||
my $rcdefines = $defines;
|
my $rcdefines = $defines;
|
||||||
$rcdefines =~ s/(?<!\\)"/\\$&/g;
|
$rcdefines =~ s/(?<!\\)"/\\$&/g;
|
||||||
|
|||||||
Reference in New Issue
Block a user