From 8475fbac2257120a9df8c0084f22f8d4947cf38b Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 24 Jul 2005 05:21:11 +0000 Subject: [PATCH] Don't use mmap_heap_malloc unless HEAP_IN_LOW_MEMORY is defined. --- v7/src/microcode/confshared.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/confshared.h b/v7/src/microcode/confshared.h index df2c1aa8d..4593cbbbf 100644 --- a/v7/src/microcode/confshared.h +++ b/v7/src/microcode/confshared.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: confshared.h,v 11.7 2003/07/22 02:19:51 cph Exp $ +$Id: confshared.h,v 11.8 2005/07/24 05:21:11 cph Exp $ Copyright 2000,2002,2003 Massachusetts Institute of Technology @@ -374,7 +374,7 @@ typedef unsigned long SCHEME_OBJECT; #endif /* __alpha */ -#ifdef USE_MMAP_HEAP_MALLOC +#if defined(USE_MMAP_HEAP_MALLOC) && defined(HEAP_IN_LOW_MEMORY) extern void * mmap_heap_malloc (unsigned long); # define HEAP_MALLOC mmap_heap_malloc # define HEAP_FREE(address) -- 2.25.1