diff src/alloc.c @ 32700:25c6c2562e31

(toplevel): Conditionalize compilation of mem_* functions differently.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 20 Oct 2000 19:13:33 +0000
parents 52f570fdddce
children 416924b6f303
line wrap: on
line diff
--- a/src/alloc.c	Fri Oct 20 18:45:17 2000 +0000
+++ b/src/alloc.c	Fri Oct 20 19:13:33 2000 +0000
@@ -2530,7 +2530,8 @@
 			   C Stack Marking
  ************************************************************************/
 
-#if GC_MARK_STACK
+#if GC_MARK_STACK || defined GC_MALLOC_CHECK
+
 /* Initialize this part of alloc.c.  */
 
 static void
@@ -3074,6 +3075,10 @@
 	  && !NILP (((struct buffer *) p)->name));
 }
 
+#endif /* GC_MARK_STACK || defined GC_MALLOC_CHECK */
+
+#if GC_MARK_STACK
+
 #if GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES
 
 /* Array of objects that are kept alive because the C stack contains