Commit 8662db71 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winemaker: Ignore whitespaces before defines.

parent 9e0e3a73
......@@ -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") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment