diff options
author | Jan Dubois <jand@activestate.com> | 2014-07-22 16:50:24 -0700 |
---|---|---|
committer | Jan Dubois <jand@activestate.com> | 2014-07-22 16:56:45 -0700 |
commit | 6e75769d300856d7c215fc22d503cce13b734a0f (patch) | |
tree | b1b9d48f210342bee6dbd6b25cccb92b7dbd1bb4 /win32/config_sh.PL | |
parent | 2b0121e1c44b6ec834f3c55c427ef006b57c7fff (diff) | |
download | perl-6e75769d300856d7c215fc22d503cce13b734a0f.tar.gz |
Use %I64d instead of %lld for MinGW
For older versions of MSVCRT.dll %lld is still using only 32 bits, breaking
32-bit builds defining USE_64_BIT_INT. %I64d is still supported on all newer
MSVCRT.dll releases, so there is really no reason to use %lld with MinGW at
all.
Fixes https://rt.perl.org/Ticket/Display.html?id=120851
Diffstat (limited to 'win32/config_sh.PL')
-rw-r--r-- | win32/config_sh.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/config_sh.PL b/win32/config_sh.PL index 7553b59cac..985c99a75b 100644 --- a/win32/config_sh.PL +++ b/win32/config_sh.PL @@ -121,7 +121,7 @@ if ($opt{cc} =~ /\b(?:cl|icl)/) { } elsif ($opt{cc} =~ /\bgcc\b/) { $int64 = 'long long'; - $int64f = 'll'; + $int64f = 'I64'; } # set large files options |