winapi_test: Escape parentheses in regexp, Allow spaces around them.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr> Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
44df633d19
commit
4cd1aa12b9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue