[PATCH 64bit] Fix speclib for x86_64
Mon Feb 18 10:19:00 GMT 2013
On Sun, 17 Feb 2013 11:51:59 -0500, Christopher Faylor wrote:
> >+my $uscore = ($target =~ /^x86_64\-/ ? undef : '_');
> There is no reason to quote the dash here. But, I would actually prefer
> a substr check since that is a little faster.
> my $uscore = (substr($target, 0, 7) eq 'x86_64-') ? ...
I was just following the syntax already in mkimport:
> my $is64bit = ($target =~ /^x86_64\-/ ? 1 : 0);
More information about the Cygwin-patches