This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
MinGW/gcc does have long long, even for 32-bit builds
authorSteve Hay <steve.m.hay@googlemail.com>
Mon, 11 Jun 2012 07:49:46 +0000 (08:49 +0100)
committerSteve Hay <steve.m.hay@googlemail.com>
Mon, 11 Jun 2012 07:49:46 +0000 (08:49 +0100)
(It's already used for [iu]64type and [u]quadtype, just like __int64 is
used on 32-bit VC++ builds.)

Thanks to Sisyphus & kmx for the spot.

win32/config.gc
win32/config_H.gc

index 14d200b..47461f9 100644 (file)
@@ -289,7 +289,7 @@ d_localtime_r_needs_tzset='undef'
 d_locconv='define'
 d_lockf='undef'
 d_longdbl='define'
-d_longlong='undef'
+d_longlong='define'
 d_lseekproto='define'
 d_lstat='undef'
 d_madvise='undef'
index 846a296..8aa850a 100644 (file)
  *     C preprocessor can make decisions based on it.  It is only
  *     defined if the system supports long long.
  */
-/*#define HAS_LONG_LONG                / **/
+#define HAS_LONG_LONG          /**/
 #ifdef HAS_LONG_LONG
 #define LONGLONGSIZE 8         /**/
 #endif