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

wine/port.h is included, as it's necessary in that case.
This commit is contained in:
Vincent Béron 2005-09-28 10:15:44 +00:00 committed by Alexandre Julliard
parent d6a89fbae3
commit ba09692406
1 changed files with 1 additions and 1 deletions

View File

@ -639,7 +639,7 @@ foreach my $file (@c_files) {
}); });
if($options->config_unnecessary) { 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"); $output->write("$file: include2info config.h but do not use any conditionals\n");
} }
} }