summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-11-11 23:17:43 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-11-11 23:17:43 +0000
commit6b8eaf932222db04db65aff99717b9c1dbd0a692 (patch)
treee3c8fcc891d8978d35f507c9ed8927f49653fa72 /handy.h
parent9f2f8d047dcc7d10b832be2cce8b61f4353e10c6 (diff)
downloadperl-6b8eaf932222db04db65aff99717b9c1dbd0a692.tar.gz
Turn on largefileness always if available and
continue 64-bit fixes. p4raw-id: //depot/cfgperl@4552
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/handy.h b/handy.h
index 19f589f6c5..92d163ea52 100644
--- a/handy.h
+++ b/handy.h
@@ -108,10 +108,18 @@ typedef I16TYPE I16;
typedef U16TYPE U16;
typedef I32TYPE I32;
typedef U32TYPE U32;
-#ifdef Quad_t
+#ifdef PERL_CORE
+# ifdef HAS_QUAD
+# if QUADKIND == QUAD_IS_INT64_T
+# include <sys/types.h>
+# ifdef I_INTTYPES /* e.g. Linux has int64_t without <inttypes.h> */
+# include <inttypes.h>
+# endif
+# endif
typedef I64TYPE I64;
typedef U64TYPE U64;
-#endif
+# endif
+#endif /* PERL_CORE */
/* Mention I8SIZE, U8SIZE, I16SIZE, U16SIZE, I32SIZE, U32SIZE,
I64SIZE, and U64SIZE here so that metaconfig pulls them in. */