Commit dffe626a authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winapi_check: Print a warning when 'long' is used in an API file as this type is…

winapi_check: Print a warning when 'long' is used in an API file as this type is not Win64 compatible.
parent b858b789
......@@ -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}) {
......
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