summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-07-31 20:26:22 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-07-31 20:26:22 +0000
commit2cc4c2dcb9e95edecb3992eb6ac9c235d8d8157f (patch)
treee21d7c7e490fabb8d1b48ca5cab173568ec80eb6 /perl.h
parentba2b843033658a74ad38c16999ec6f60a2256fff (diff)
downloadperl-2cc4c2dcb9e95edecb3992eb6ac9c235d8d8157f.tar.gz
Hack the "integer overflow" code some more.
p4raw-id: //depot/cfgperl@3840
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 86657049f6..e9e86cff97 100644
--- a/perl.h
+++ b/perl.h
@@ -1024,6 +1024,8 @@ Free_t Perl_mfree (Malloc_t where);
# define UV_MAX PERL_UQUAD_MAX
# define UV_MIN PERL_UQUAD_MIN
# endif
+# define IV_SIZEOF 8
+# define UV_SIZEOF 8
#else
typedef long IV;
typedef unsigned long UV;
@@ -1038,6 +1040,8 @@ Free_t Perl_mfree (Malloc_t where);
# define UV_MAX PERL_ULONG_MAX
# define UV_MIN PERL_ULONG_MIN
# endif
+# define UV_SIZEOF LONGSIZE
+# define IV_SIZEOF LONGSIZE
#endif
#ifdef USE_LONG_DOUBLE