From: Gerd Moellmann Date: Fri, 20 Oct 2000 19:14:07 +0000 (+0000) Subject: (toplevel): Conditionalize compilation of mem_* X-Git-Tag: emacs-pretest-21.0.90~718 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=13c844fb71c9bc7031fdac50561938b62bb75bfd;p=emacs.git (toplevel): Conditionalize compilation of mem_* functions differently. --- diff --git a/src/ChangeLog b/src/ChangeLog index fb359528697..e6ae01e40ab 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2000-10-20 Gerd Moellmann + + * alloc.c (toplevel): Conditionalize compilation of mem_* + functions differently. + 2000-10-20 Jason Rumney * alloc.c (toplevel): Move #ifdef GC_MARK_STACK back to above diff --git a/src/alloc.c b/src/alloc.c index 56b0d6fd16d..54c4b447fde 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -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