Commit ba096924 authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

Don't treat absence of conditional as config.h being useless if

wine/port.h is included, as it's necessary in that case.
parent d6a89fba
......@@ -639,7 +639,7 @@ foreach my $file (@c_files) {
});
if($options->config_unnecessary) {
if($config && $conditional == 0) {
if($config && $conditional == 0 && !exists($include2info{"include/wine/port.h"})) {
$output->write("$file: include2info config.h but do not use any conditionals\n");
}
}
......
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