From: Andy Dougherty Date: Fri, 3 Feb 2006 11:55:58 +0000 (-0500) Subject: Re: how to build with -DPERL_MEM_LOG ? X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bc82975d259d743626ad1b4a960b4b1f13c7a816;p=p5sagit%2Fp5-mst-13.2.git Re: how to build with -DPERL_MEM_LOG ? Message-ID: p4raw-id: //depot/perl@27204 --- diff --git a/x2p/a2p.h b/x2p/a2p.h index 92a2bd8..db09edd 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 */ +# ifdef UTS +# undef UVTYPE +# define UVTYPE unsigned +# endif + + typedef IVTYPE IV; + typedef UVTYPE UV; +#endif #ifndef STANDARD_C Malloc_t malloc (MEM_SIZE nbytes);