diff src/s/linux.h @ 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 d46451e73f6d
children
line wrap: on
line diff
--- 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