winapi_check: Print a warning when 'long' is used in an API file as this type is not Win64 compatible.

This commit is contained in:
Francois Gouget 2007-01-26 18:21:54 +01:00 committed by Alexandre Julliard
parent b858b78990
commit dffe626a9c
1 changed files with 4 additions and 0 deletions

View File

@ -192,6 +192,10 @@ sub parse_api_file($$) {
}
} elsif(defined($kind)) {
my $type = $_;
if ($type =~ /^long\b/)
{
$output->write("$file:$linenum: type ($type) is not Win64 compatible\n");
}
if(!$forbidden) {
if(defined($module)) {
if($$allowed_modules_unlimited{$type}) {