(toplevel): Conditionalize compilation of mem_*

functions differently.
This commit is contained in:
Gerd Moellmann 2000-10-20 19:14:07 +00:00
parent 8b30ba1a4d
commit 13c844fb71
2 changed files with 11 additions and 1 deletions

View 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

View 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