comparison src/alloc.c @ 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 8256390b71bb
children 1bbf3f566879
comparison
equal deleted inserted replaced
52546:4e5fa718d892 52547:623355edbb1d
28 #endif 28 #endif
29 29
30 /* Note that this declares bzero on OSF/1. How dumb. */ 30 /* Note that this declares bzero on OSF/1. How dumb. */
31 31
32 #include <signal.h> 32 #include <signal.h>
33
34 /* GC_MALLOC_CHECK defined means perform validity checks of malloc'd
35 memory. Can do this only if using gmalloc.c. */
36
37 #if defined SYSTEM_MALLOC || defined DOUG_LEA_MALLOC
38 #undef GC_MALLOC_CHECK
39 #endif
40 33
41 /* This file is part of the core Lisp implementation, and thus must 34 /* This file is part of the core Lisp implementation, and thus must
42 deal with the real data structures. If the Lisp implementation is 35 deal with the real data structures. If the Lisp implementation is
43 replaced, this file likely will not be used. */ 36 replaced, this file likely will not be used. */
44 37
53 #include "frame.h" 46 #include "frame.h"
54 #include "blockinput.h" 47 #include "blockinput.h"
55 #include "charset.h" 48 #include "charset.h"
56 #include "syssignal.h" 49 #include "syssignal.h"
57 #include <setjmp.h> 50 #include <setjmp.h>
51
52 /* GC_MALLOC_CHECK defined means perform validity checks of malloc'd
53 memory. Can do this only if using gmalloc.c. */
54
55 #if defined SYSTEM_MALLOC || defined DOUG_LEA_MALLOC
56 #undef GC_MALLOC_CHECK
57 #endif
58 58
59 #ifdef HAVE_UNISTD_H 59 #ifdef HAVE_UNISTD_H
60 #include <unistd.h> 60 #include <unistd.h>
61 #else 61 #else
62 extern POINTER_TYPE *sbrk (); 62 extern POINTER_TYPE *sbrk ();