On Sat, 25 Jul 2020, Serge Gautherie wrote: [...]
- } elsif ($preprocessor =~ /^#\s*elif\s+defined(_WIN64)/) {
} elsif ($preprocessor =~ /^\#\s*elif\s+defined\(_WIN64\)/) {
This also replaces a tab with spaces. Spaces are allowed around defined so you may add defensive \s*-s while you're at it:
} elsif ($preprocessor =~ /^#\s*elif\s+defined\s*(\s*_WIN64\s*)/) {
I don't know if there are other places that would benefit from a similar treatment.