comparison src/alloc.c @ 39682:5f60884970a8

Don't define min/max.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 08 Oct 2001 08:07:49 +0000
parents a0bf0cb8ff3e
children 36068b62b4c1
comparison
equal deleted inserted replaced
39681:87cc624f4e1e 39682:5f60884970a8
77 #define __malloc_size_t size_t 77 #define __malloc_size_t size_t
78 extern __malloc_size_t _bytes_used; 78 extern __malloc_size_t _bytes_used;
79 extern __malloc_size_t __malloc_extra_blocks; 79 extern __malloc_size_t __malloc_extra_blocks;
80 80
81 #endif /* not DOUG_LEA_MALLOC */ 81 #endif /* not DOUG_LEA_MALLOC */
82
83 #define max(A,B) ((A) > (B) ? (A) : (B))
84 #define min(A,B) ((A) < (B) ? (A) : (B))
85 82
86 /* Macro to verify that storage intended for Lisp objects is not 83 /* Macro to verify that storage intended for Lisp objects is not
87 out of range to fit in the space for a pointer. 84 out of range to fit in the space for a pointer.
88 ADDRESS is the start of the block, and SIZE 85 ADDRESS is the start of the block, and SIZE
89 is the amount of space within which objects can start. */ 86 is the amount of space within which objects can start. */