summaryrefslogtreecommitdiff
path: root/src/ralloc.c
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-09-08 16:03:04 +0000
committerDave Love <fx@gnu.org>2000-09-08 16:03:04 +0000
commit113969aaf4db2f91392da7a84695d31c3ef1d643 (patch)
treef4b0115be20efaa7466730d1f76b166c979903f8 /src/ralloc.c
parenta457397b0c43120c7536962bc90a68733940019d (diff)
downloademacs-113969aaf4db2f91392da7a84695d31c3ef1d643.tar.gz
(r_alloc_init): Conditionalize on SYSTEM_MALLOC, not REL_ALLOC_MMAP.
Diffstat (limited to 'src/ralloc.c')
-rw-r--r--src/ralloc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ralloc.c b/src/ralloc.c
index 65015d5f374..6ef6a1f0cd1 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -1680,9 +1680,7 @@ r_alloc_init ()
#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 @@ r_alloc_init ()
#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