Signed-off-by: Serge Gautherie winehq-git_serge_180711@gautherie.fr --- Addendum to df6d37e0f219ba714d59306a166b75686469211f. --- 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 762d7af..a700cfc 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[">]$/) {