winemaker: Ignore whitespaces before defines.
This commit is contained in:
parent
9e0e3a73d2
commit
8662db7117
|
@ -938,7 +938,7 @@ sub source_scan_project_file($$$)
|
||||||
}
|
}
|
||||||
if ($vc_compiler_tool->getName eq "PreprocessorDefinitions") {
|
if ($vc_compiler_tool->getName eq "PreprocessorDefinitions") {
|
||||||
$configt=$vc_compiler_tool->getValue;
|
$configt=$vc_compiler_tool->getValue;
|
||||||
$configt=~s/;/ -D/g;
|
$configt=~s/;\s*/ -D/g;
|
||||||
$prj_target_defines.="-D".$configt." ";
|
$prj_target_defines.="-D".$configt." ";
|
||||||
}
|
}
|
||||||
if ($vc_compiler_tool->getName eq "AdditionalIncludeDirectories") {
|
if ($vc_compiler_tool->getName eq "AdditionalIncludeDirectories") {
|
||||||
|
|
Loading…
Reference in New Issue