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:
parent
d6a89fbae3
commit
ba09692406
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue