Commit 49f3c2ae authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

Since windows/ is gone, headers for user are only in

dlls/user/. Remove kludge from winapi_check.
parent d32610fa
...@@ -540,8 +540,6 @@ foreach my $file (@c_files) { ...@@ -540,8 +540,6 @@ foreach my $file (@c_files) {
} else { } else {
$include = "$header"; $include = "$header";
} }
} elsif($header =~ /^(?:controls|message|winproc)\.h$/) { # FIXME: Kludge
$include = "dlls/user/$header";
} elsif($check_local && $header ne "config.h") { } elsif($check_local && $header ne "config.h") {
$output->write("$file: #include \"$header\": file not found\n"); $output->write("$file: #include \"$header\": file not found\n");
} }
...@@ -612,11 +610,6 @@ foreach my $file (@c_files) { ...@@ -612,11 +610,6 @@ foreach my $file (@c_files) {
$include2info{$name}{used}++; $include2info{$name}{used}++;
} }
} }
} elsif($header =~ /^(?:controls|message|winproc)\.h$/) { # FIXME: Kludge
$include2info{"dlls/user/$header"}{used}++;
foreach my $name (keys(%{$include2info{"dlls/user/$header"}{includes}})) {
$include2info{$name}{used}++;
}
} elsif(-e "$wine_dir/include/$header") { } elsif(-e "$wine_dir/include/$header") {
$include2info{"include/$header"}{used}++; $include2info{"include/$header"}{used}++;
foreach my $name (keys(%{$include2info{"include/$header"}{includes}})) { foreach my $name (keys(%{$include2info{"include/$header"}{includes}})) {
......
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