aboutsummaryrefslogtreecommitdiffstats
path: root/src/ralloc.c
diff options
context:
space:
mode:
authorDave Love2000-09-08 16:03:04 +0000
committerDave Love2000-09-08 16:03:04 +0000
commit5ad25b24dfeb6f2d68f0367b7c289dd450eec63e (patch)
tree826b6f9532c83e2c2398864c8c67603b970a48f7 /src/ralloc.c
parentc454aac1921dfc9e7afa4e139ac7ed95dd27faa1 (diff)
downloademacs-5ad25b24dfeb6f2d68f0367b7c289dd450eec63e.tar.gz
emacs-5ad25b24dfeb6f2d68f0367b7c289dd450eec63e.zip
(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 ()
1680#ifndef SYSTEM_MALLOC 1680#ifndef SYSTEM_MALLOC
1681 real_morecore = __morecore; 1681 real_morecore = __morecore;
1682 __morecore = r_alloc_sbrk; 1682 __morecore = r_alloc_sbrk;
1683#endif
1684 1683
1685#ifndef REL_ALLOC_MMAP
1686 first_heap = last_heap = &heap_base; 1684 first_heap = last_heap = &heap_base;
1687 first_heap->next = first_heap->prev = NIL_HEAP; 1685 first_heap->next = first_heap->prev = NIL_HEAP;
1688 first_heap->start = first_heap->bloc_start 1686 first_heap->start = first_heap->bloc_start
@@ -1703,7 +1701,7 @@ r_alloc_init ()
1703#endif 1701#endif
1704#endif 1702#endif
1705 1703
1706#ifndef REL_ALLOC_MMAP 1704#ifndef SYSTEM_MALLOC
1707 first_heap->end = (POINTER) ROUNDUP (first_heap->start); 1705 first_heap->end = (POINTER) ROUNDUP (first_heap->start);
1708 1706
1709 /* The extra call to real_morecore guarantees that the end of the 1707 /* The extra call to real_morecore guarantees that the end of the