summaryrefslogtreecommitdiff
path: root/x2p
diff options
context:
space:
mode:
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);