From: Marcus Holland-Moritz <mhx-perl@gmx.net>
Date: Thu, 1 Jul 2004 21:08:44 +0000 (+0000)
Subject: The microperl config didn't know about usemallocwrap yet.
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6f980a54574e0bf71b1f27e663d5e95cbb8a2612;p=p5sagit%2Fp5-mst-13.2.git

The microperl config didn't know about usemallocwrap yet.

p4raw-id: //depot/perl@23022
---

diff --git a/uconfig.h b/uconfig.h
index aa16a5b..2846c82 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -1377,6 +1377,18 @@
  */
 /*#define PERL_OTHERLIBDIRS ""		/ **/
 
+/* INSTALL_PREFIX:
+ *	This symbol contains the "root" of installation tree for this package.
+ *	The program should be prepared to do ~ expansion.
+ */
+/* INSTALL_PREFIX_EXP:
+ *	This symbol contains the "root" of installation tree for this package
+ *	to be used in programs that are not prepared to deal with ~ expansion
+ *	at run-time.
+ */
+#define INSTALL_PREFIX ""		/**/
+#define INSTALL_PREFIX_EXP ""	/**/
+
 /* PRIVLIB:
  *	This symbol contains the name of the private library for this package.
  *	The library is private in the sense that it needn't be in anyone's
@@ -2150,6 +2162,11 @@
  */
 /*#define MYMALLOC			/ **/
 
+/* PERL_MALLOC_WRAP:
+ *	This symbol, if defined, indicates that we'd like malloc wrap checks.
+ */
+/*#define PERL_MALLOC_WRAP			/ **/
+
 /* CAN_PROTOTYPE:
  *	If defined, this macro indicates that the C compiler can handle
  *	function prototypes.
@@ -3204,6 +3221,19 @@
 #define	NVSIZE		8		/**/
 #undef	NV_PRESERVES_UV
 #define	NV_PRESERVES_UV_BITS	0
+#if UVSIZE == 8
+#   ifdef BYTEORDER
+#       if BYTEORDER == 0x1234
+#           undef BYTEORDER
+#           define BYTEORDER 0x12345678
+#       else
+#           if BYTEORDER == 0x4321
+#               undef BYTEORDER
+#               define BYTEORDER 0x87654321
+#           endif
+#       endif
+#   endif
+#endif
 
 /* IVdf:
  *	This symbol defines the format string used for printing a Perl IV
diff --git a/uconfig.sh b/uconfig.sh
index 3fb16b7..705bc83 100755
--- a/uconfig.sh
+++ b/uconfig.sh
@@ -684,6 +684,7 @@ usefaststdio='undef'
 useithreads='undef'
 uselargefiles='undef'
 uselongdouble='undef'
+usemallocwrap='undef'
 usemorebits='undef'
 usemultiplicity='undef'
 usemymalloc='n'