changeset 2796:d3bdda4872ac

[xemacs-hg @ 2005-06-01 10:51:34 by crestani] * ralloc.c: * ralloc.c (r_alloc_free): Call refill_memory_reserve only if MC_ALLOC is not defined.
author crestani
date Wed, 01 Jun 2005 10:51:36 +0000
parents 880ccb751597
children f2d35dbe8800
files src/ChangeLog src/ralloc.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue May 31 21:52:04 2005 +0000
+++ b/src/ChangeLog	Wed Jun 01 10:51:36 2005 +0000
@@ -1,3 +1,9 @@
+2005-06-01  Marcus Crestani  <crestani@xemacs.org>
+
+	* ralloc.c:
+	* ralloc.c (r_alloc_free): Call refill_memory_reserve only if
+	MC_ALLOC is not defined.
+
 2005-05-28  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* XEmacs 21.5.21 "corn" is released.
--- a/src/ralloc.c	Tue May 31 21:52:04 2005 +0000
+++ b/src/ralloc.c	Wed Jun 01 10:51:36 2005 +0000
@@ -61,7 +61,9 @@
 #include "getpagesize.h"
 
 #include <string.h>
+#ifndef MC_ALLOC
 void refill_memory_reserve (void);
+#endif /* not MC_ALLOC */
 
 #else	/* Not emacs.  */
 
@@ -984,7 +986,9 @@
   *ptr = 0;
 
 #ifdef emacs
+#ifndef MC_ALLOC
   refill_memory_reserve ();
+#endif /* not MC_ALLOC */
 #endif
 }