Serge Gautherie : winapi_test: PshpackN.h can only be 1/2/4/8.
Module: wine Branch: master Commit: 44df633d1914180b8ed1b0c61d4c7e39be5030a7 URL: https://source.winehq.org/git/wine.git/?a=commit;h=44df633d1914180b8ed1b0c61... Author: Serge Gautherie <winehq-git_serge_180711(a)gautherie.fr> Date: Wed Aug 12 05:40:44 2020 +0200 winapi_test: PshpackN.h can only be 1/2/4/8. Signed-off-by: Serge Gautherie <winehq-git_serge_180711(a)gautherie.fr> Signed-off-by: Francois Gouget <fgouget(a)free.fr> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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 9d016fff28..1ad94a6103 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[\">]$/) {
participants (1)
-
Alexandre Julliard