# HG changeset patch # User Dave Love # Date 1063986565 0 # Node ID 623355edbb1dca161ec80aca7f242ad49611b94c # Parent 4e5fa718d89227486107193b7748ef46fc8f618e (GC_MALLOC_CHECK): Move conditional undef after lisp.h. diff -r 4e5fa718d892 -r 623355edbb1d src/alloc.c --- a/src/alloc.c Fri Sep 19 14:45:21 2003 +0000 +++ b/src/alloc.c Fri Sep 19 15:49:25 2003 +0000 @@ -31,13 +31,6 @@ #include -/* GC_MALLOC_CHECK defined means perform validity checks of malloc'd - memory. Can do this only if using gmalloc.c. */ - -#if defined SYSTEM_MALLOC || defined DOUG_LEA_MALLOC -#undef GC_MALLOC_CHECK -#endif - /* This file is part of the core Lisp implementation, and thus must deal with the real data structures. If the Lisp implementation is replaced, this file likely will not be used. */ @@ -56,6 +49,13 @@ #include "syssignal.h" #include +/* GC_MALLOC_CHECK defined means perform validity checks of malloc'd + memory. Can do this only if using gmalloc.c. */ + +#if defined SYSTEM_MALLOC || defined DOUG_LEA_MALLOC +#undef GC_MALLOC_CHECK +#endif + #ifdef HAVE_UNISTD_H #include #else