This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use ll rather than I64 for win32/config*.gc64 format strings
authorSteve Hay <steve.m.hay@googlemail.com>
Tue, 19 Jun 2012 16:59:29 +0000 (17:59 +0100)
committerSteve Hay <steve.m.hay@googlemail.com>
Tue, 19 Jun 2012 16:59:29 +0000 (17:59 +0100)
The corresponding types are long long rather than __int64 so this makes
more sense and matches proposed diffs from the land of Strawberry Perl
for supporting 32-bit builds with 64-bit ints on Windows (hopefully
coming up soon...).

win32/config.gc64
win32/config_H.gc64

index c0f79bc..d5a2e02 100644 (file)
@@ -751,7 +751,7 @@ installvendorman3dir=''
 installvendorscript=''
 intsize='4'
 issymlink=''
-ivdformat='"I64d"'
+ivdformat='"lld"'
 ivsize='8'
 ivtype='long long'
 known_extensions='~static_ext~ ~dynamic_ext~ ~nonxs_ext~'
@@ -895,15 +895,15 @@ sLOCALTIME_min="0"
 sPRIEUldbl='"E"'
 sPRIFUldbl='"F"'
 sPRIGUldbl='"G"'
-sPRIXU64='"I64X"'
-sPRId64='"I64d"'
+sPRIXU64='"llX"'
+sPRId64='"lld"'
 sPRIeldbl='"e"'
 sPRIfldbl='"f"'
 sPRIgldbl='"g"'
-sPRIi64='"I64i"'
-sPRIo64='"I64o"'
-sPRIu64='"I64u"'
-sPRIx64='"I64x"'
+sPRIi64='"lli"'
+sPRIo64='"llo"'
+sPRIu64='"llu"'
+sPRIx64='"llx"'
 sSCNfldbl='"f"'
 sched_yield=''
 scriptdir='~INST_TOP~~INST_VER~\bin'
@@ -1047,12 +1047,12 @@ usevendorprefix='undef'
 usevfork='false'
 usrinc='/usr/include'
 uuname=''
-uvXUformat='"I64X"'
-uvoformat='"I64o"'
+uvXUformat='"llX"'
+uvoformat='"llo"'
 uvsize='8'
 uvtype='unsigned long long'
-uvuformat='"I64u"'
-uvxformat='"I64x"'
+uvuformat='"llu"'
+uvxformat='"llx"'
 vaproto='undef'
 vendorarch=''
 vendorarchexp=''
index 60f7e3d..80eb6ac 100644 (file)
  *     This symbol defines the format string used for printing a Perl NV
  *     using %g-ish floating point format.
  */
-#define        IVdf            "I64d"          /**/
-#define        UVuf            "I64u"          /**/
-#define        UVof            "I64o"          /**/
-#define        UVxf            "I64x"          /**/
-#define        UVXf            "I64X"          /**/
+#define        IVdf            "lld"           /**/
+#define        UVuf            "llu"           /**/
+#define        UVof            "llo"           /**/
+#define        UVxf            "llx"           /**/
+#define        UVXf            "llX"           /**/
 #define        NVef            "e"             /**/
 #define        NVff            "f"             /**/
 #define        NVgf            "g"             /**/