]> git.eshelyaron.com Git - emacs.git/commitdiff
(toplevel): Conditionalize compilation of mem_*
authorGerd Moellmann <gerd@gnu.org>
Fri, 20 Oct 2000 19:14:07 +0000 (19:14 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 20 Oct 2000 19:14:07 +0000 (19:14 +0000)
functions differently.

src/ChangeLog
src/alloc.c

index fb35952869760cf0407d6709e1ead125d18bbace..e6ae01e40ab820a48ed467e7ea5ac1f5f5dfbf0e 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-20  Gerd Moellmann  <gerd@gnu.org>
+
+       * alloc.c (toplevel): Conditionalize compilation of mem_*
+       functions differently.
+       
 2000-10-20  Jason Rumney  <jasonr@gnu.org>
 
        * alloc.c (toplevel): Move #ifdef GC_MARK_STACK back to above
index 56b0d6fd16d8db099da8c4c5712774ef64fb6567..54c4b447fde32be5149f9aa9e6eee8351c190642 100644 (file)
@@ -2530,7 +2530,8 @@ make_event_array (nargs, args)
                           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 @@ live_buffer_p (m, p)
          && !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