From: Dave Love Date: Fri, 19 Sep 2003 15:50:56 +0000 (+0000) Subject: (GC_MALLOC_CHECK): Move conditional undef after lisp.h. X-Git-Tag: ttn-vms-21-2-B4~8799 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ad5f3636c57ec07fdd0796d98ce2471337e36d40;p=emacs.git (GC_MALLOC_CHECK): Move conditional undef after lisp.h. --- 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