(GC_MALLOC_CHECK): Move conditional undef after lisp.h.
authorDave Love <fx@gnu.org>
Fri, 19 Sep 2003 15:50:56 +0000 (15:50 +0000)
committerDave Love <fx@gnu.org>
Fri, 19 Sep 2003 15:50:56 +0000 (15:50 +0000)
src/ChangeLog
src/alloc.c

index a3116af..e7c737e 100644 (file)
@@ -1,3 +1,7 @@
+2003-09-19  Dave Love  <fx@gnu.org>
+
+       * alloc.c (GC_MALLOC_CHECK): Move conditional undef after lisp.h.
+
 2003-09-19  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
        * xterm.c (x_set_offset): Take window manager decorations
@@ -17,6 +21,8 @@
 
 2003-09-18  Dave Love  <fx@gnu.org>
 
+       * alloc.c (GC_MALLOC_CHECK): Move conditional undef after lisp.h.
+
        * process.c (Fnetwork_interface_info): Fix type error.
        (Fnetwork_interface_list): Doc fix.
        (read_process_output, read_process_output): Delete unused var.
index c84c2eb..56a4c0b 100644 (file)
@@ -31,13 +31,6 @@ Boston, MA 02111-1307, USA.  */
 
 #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 @@ Boston, MA 02111-1307, USA.  */
 #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