From 44df633d1914180b8ed1b0c61d4c7e39be5030a7 Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Wed, 12 Aug 2020 05:40:44 +0200 Subject: [PATCH] winapi_test: PshpackN.h can only be 1/2/4/8. Signed-off-by: Serge Gautherie Signed-off-by: Francois Gouget Signed-off-by: Alexandre Julliard --- 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 9d016fff283..1ad94a61030 100755 --- a/tools/winapi/winapi_test +++ b/tools/winapi/winapi_test @@ -409,7 +409,7 @@ foreach my $file (@files) { my $preprocessor = shift; #print "found_preprocessor: $begin_line: [$_]\n"; - if ($preprocessor =~ /^\#\s*include\s+[\"<]pshpack(\d+)\.h[\">]$/) { + if ($preprocessor =~ /^\#\s*include\s+[\"<]pshpack(\d)\.h[\">]$/) { push @packs, $1 unless @ifdefs && !$ifdefs[$#ifdefs]; #print "found pack $1 on line $begin_line\n"; } elsif($preprocessor =~ /^\#\s*include\s+[\"<]poppack\.h[\">]$/) {