Signed-off-by: Serge Gautherie winehq-git_serge_180711@gautherie.fr --- Fix parsing related to a few *_PTR types from basetsd.h. Addendum to 6b11a3c3f81d7db3794f3320eeaef8001cc99b74. --- tools/winapi/winapi_test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/winapi/winapi_test b/tools/winapi/winapi_test index 1ad94a6..e9e5fe4 100755 --- a/tools/winapi/winapi_test +++ b/tools/winapi/winapi_test @@ -419,7 +419,7 @@ foreach my $file (@files) { push @ifdefs, ($pointer_size == 8); } elsif ($preprocessor =~ /^#\s*ifndef\s+_WIN64/) { push @ifdefs, ($pointer_size == 4); - } elsif ($preprocessor =~ /^#\s*elif\s+defined(_WIN64)/) { + } elsif ($preprocessor =~ /^#\s*elif\s+defined\s*(\s*_WIN64\s*)/) { $ifdefs[$#ifdefs] = ($pointer_size == 8); } elsif ($preprocessor =~ /^#\s*ifdef\s/) { push @ifdefs, 2;