Re: how to build with -DPERL_MEM_LOG ?
authorAndy Dougherty <doughera@lafayette.edu>
Fri, 3 Feb 2006 11:55:58 +0000 (06:55 -0500)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 16 Feb 2006 14:44:10 +0000 (14:44 +0000)
Message-ID: <Pine.SOC.4.62.0602031129530.9630@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@27204

x2p/a2p.h

index 92a2bd8..db09edd 100644 (file)
--- a/x2p/a2p.h
+++ b/x2p/a2p.h
 #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);