summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-10-31 09:15:17 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-10-31 09:15:17 +0000
commit19b18c6f5564990efd4c1279e3106909994a0e2d (patch)
treef4769f671f8d9783014cb792913959422ff2774c /perl.h
parentf278b01ff11fdbe0f6093fd4d745e8aa4e8fa829 (diff)
parentde1c2614758a00c0d93fc45414417a54cdf923b3 (diff)
downloadperl-19b18c6f5564990efd4c1279e3106909994a0e2d.tar.gz
integrate cfgperl contents into mainline
p4raw-id: //depot/perl@4499
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 0d5a613449..e3d34e7f01 100644
--- a/perl.h
+++ b/perl.h
@@ -904,7 +904,7 @@ Free_t Perl_mfree (Malloc_t where);
typedef IVTYPE IV;
typedef UVTYPE UV;
-#ifdef USE_64_BITS
+#if defined(USE_64_BITS) && defined(HAS_QUAD)
# if QUADCASE == 4 && defined(INT64_MAX) /* quad is int64_t */
# define IV_MAX INT64_MAX
# define IV_MIN INT64_MIN
@@ -943,9 +943,13 @@ typedef UVTYPE UV;
# if IVSIZE == 8
# define IV_IS_QUAD
# define UV_IS_QUAD
+# ifndef HAS_QUAD
+# define HAS_QUAD
+# endif
# else
# undef IV_IS_QUAD
# undef UV_IS_QUAD
+# undef HAS_QUAD
# endif
#endif