winemaker: Ignore whitespaces before defines.

This commit is contained in:
André Hentschel 2011-02-10 22:04:16 +01:00 committed by Alexandre Julliard
parent 9e0e3a73d2
commit 8662db7117
1 changed files with 1 additions and 1 deletions

View File

@ -938,7 +938,7 @@ sub source_scan_project_file($$$)
}
if ($vc_compiler_tool->getName eq "PreprocessorDefinitions") {
$configt=$vc_compiler_tool->getValue;
$configt=~s/;/ -D/g;
$configt=~s/;\s*/ -D/g;
$prj_target_defines.="-D".$configt." ";
}
if ($vc_compiler_tool->getName eq "AdditionalIncludeDirectories") {