Commit 4cd1aa12 authored by Serge Gautherie's avatar Serge Gautherie Committed by Alexandre Julliard

winapi_test: Escape parentheses in regexp, Allow spaces around them.

parent 44df633d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment