summaryrefslogtreecommitdiff
path: root/x2p
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2006-02-03 06:55:58 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-02-16 14:44:10 +0000
commitbc82975d259d743626ad1b4a960b4b1f13c7a816 (patch)
tree2d8f4f575d8492571c61fcf1ebcbda34fb858147 /x2p
parent34659ad42c4b407f5dceb74f4005f299acd3ba46 (diff)
downloadperl-bc82975d259d743626ad1b4a960b4b1f13c7a816.tar.gz
Re: how to build with -DPERL_MEM_LOG ?
Message-ID: <Pine.SOC.4.62.0602031129530.9630@maxwell.phys.lafayette.edu> p4raw-id: //depot/perl@27204
Diffstat (limited to 'x2p')
-rw-r--r--x2p/a2p.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/x2p/a2p.h b/x2p/a2p.h
index 92a2bd89c6..db09edddfa 100644
--- a/x2p/a2p.h
+++ b/x2p/a2p.h
@@ -73,6 +73,18 @@
#endif /* USE_NEXT_CTYPE */
#define MEM_SIZE Size_t
+#ifdef PERL_MEM_LOG
+/* Blindly copied from ../perl.h. -- AD 2/2006. */
+/* Configure gets this right but the UTS compiler gets it wrong.
+ -- Hal Morris <hom00@utsglobal.com> */
+# ifdef UTS
+# undef UVTYPE
+# define UVTYPE unsigned
+# endif
+
+ typedef IVTYPE IV;
+ typedef UVTYPE UV;
+#endif
#ifndef STANDARD_C
Malloc_t malloc (MEM_SIZE nbytes);