changeset 52547:623355edbb1d

(GC_MALLOC_CHECK): Move conditional undef after lisp.h.
author Dave Love <fx@gnu.org>
date Fri, 19 Sep 2003 15:49:25 +0000
parents 4e5fa718d892
children 088a99a13c00
files src/alloc.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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 <signal.h>
 
-/* 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 <setjmp.h>
 
+/* 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 <unistd.h>
 #else