changeset 3763:142260edb7b5

[xemacs-hg @ 2006-12-28 12:15:23 by malcolmp] Use system malloc on ppc64, alpha and ia64.
author malcolmp
date Thu, 28 Dec 2006 12:15:38 +0000
parents e3fe0d9ca941
children 995ea1223b4d
files src/ChangeLog src/s/linux.h
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Dec 27 22:51:11 2006 +0000
+++ b/src/ChangeLog	Thu Dec 28 12:15:38 2006 +0000
@@ -1,3 +1,8 @@
+2006-12-27  Malcolm Purvis  <malcolmp@xemacs.org>
+
+	* s/linux.h: Enable SYSTEM_MALLOC on ppc64, alpha and ia64
+	systems.
+
 2006-12-17  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* faces.c (complex_vars_of_faces):
--- a/src/s/linux.h	Wed Dec 27 22:51:11 2006 +0000
+++ b/src/s/linux.h	Thu Dec 28 12:15:38 2006 +0000
@@ -206,3 +206,8 @@
 /* XEmacs: removed setpgrp() definition because we use setpgid() when
    it's available, and autodetect it. */
 
+/* The in-built malloc does not work on PPC64 or Alpha, so use the system
+   malloc for now. */
+#if defined(__powerpc64__) || defined(__alpha__) || defined(__ia64__)
+#define SYSTEM_MALLOC
+#endif