# HG changeset patch # User Gerd Moellmann # Date 972069213 0 # Node ID 25c6c2562e31548a5932d8cc7e2d0b53f064e142 # Parent 52f570fdddceb404fe22825443aa8c578c2498e8 (toplevel): Conditionalize compilation of mem_* functions differently. diff -r 52f570fdddce -r 25c6c2562e31 src/alloc.c --- 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