From ad5f3636c57ec07fdd0796d98ce2471337e36d40 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Fri, 19 Sep 2003 15:50:56 +0000 Subject: [PATCH] (GC_MALLOC_CHECK): Move conditional undef after lisp.h. --- src/ChangeLog | 6 ++++++ src/alloc.c | 14 +++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index a3116af3f89..e7c737edb91 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-09-19 Dave Love + + * alloc.c (GC_MALLOC_CHECK): Move conditional undef after lisp.h. + 2003-09-19 Jan Dj,Ad(Brv * xterm.c (x_set_offset): Take window manager decorations @@ -17,6 +21,8 @@ 2003-09-18 Dave Love + * 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. diff --git a/src/alloc.c b/src/alloc.c index c84c2ebb26f..56a4c0b6ca0 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -31,13 +31,6 @@ Boston, MA 02111-1307, USA. */ #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 @@ Boston, MA 02111-1307, USA. */ #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 -- 2.39.2