From ba0969240688d0379fc6234243011708452d2e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20B=C3=A9ron?= Date: Wed, 28 Sep 2005 10:15:44 +0000 Subject: [PATCH] Don't treat absence of conditional as config.h being useless if wine/port.h is included, as it's necessary in that case. --- tools/winapi/winapi_check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/winapi/winapi_check b/tools/winapi/winapi_check index 762e9d1c873..cf1b22b0424 100755 --- a/tools/winapi/winapi_check +++ b/tools/winapi/winapi_check @@ -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"); } }