changeset 31509:6bc82db7d305

(r_alloc_init): Conditionalize on SYSTEM_MALLOC, not REL_ALLOC_MMAP.
author Dave Love <fx@gnu.org>
date Fri, 08 Sep 2000 16:03:04 +0000
parents 5416fcb729d7
children 15eaa1c573ba
files src/ralloc.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ralloc.c	Fri Sep 08 14:20:44 2000 +0000
+++ b/src/ralloc.c	Fri Sep 08 16:03:04 2000 +0000
@@ -1680,9 +1680,7 @@
 #ifndef SYSTEM_MALLOC
   real_morecore = __morecore;
   __morecore = r_alloc_sbrk;
-#endif
 
-#ifndef REL_ALLOC_MMAP
   first_heap = last_heap = &heap_base;
   first_heap->next = first_heap->prev = NIL_HEAP;
   first_heap->start = first_heap->bloc_start
@@ -1703,7 +1701,7 @@
 #endif
 #endif
 
-#ifndef REL_ALLOC_MMAP
+#ifndef SYSTEM_MALLOC
   first_heap->end = (POINTER) ROUNDUP (first_heap->start);
 
   /* The extra call to real_morecore guarantees that the end of the