summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2000-12-13 20:08:50 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-12-14 23:40:58 +0000
commit16b7a9a47be196cb33bf757faad24e73ceffc2fc (patch)
tree674fd0d579f19451971d374d3735712349332279 /perl.h
parent1503adc40cad8d289062bdd60154f660cdeb7188 (diff)
downloadperl-16b7a9a47be196cb33bf757faad24e73ceffc2fc.tar.gz
faster and 64 bit preserving arithmetic
Message-ID: <20001213200849.B71166@plum.flirble.org> p4raw-id: //depot/perl@8119
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index a55ebefc6e..42c5246cc4 100644
--- a/perl.h
+++ b/perl.h
@@ -1084,6 +1084,11 @@ typedef UVTYPE UV;
#define IV_DIG (BIT_DIGITS(IVSIZE * 8))
#define UV_DIG (BIT_DIGITS(UVSIZE * 8))
+/* We like our integers to stay integers. */
+#ifndef NO_PERL_PRESERVE_IVUV
+#define PERL_PRESERVE_IVUV
+#endif
+
/*
* The macros INT2PTR and NUM2PTR are (despite their names)
* bi-directional: they will convert int/float to or from pointers.