[PATCH 1/4] winapi_test: pshpackN.h can only be 1/2/4/8.
Serge Gautherie
winehq-git_serge_180711 at gautherie.fr
Tue Aug 11 22:40:44 CDT 2020
Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at 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 9d016ff..1ad94a6 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[\">]$/) {
--
2.10.0.windows.1
More information about the wine-devel
mailing list