From: Chris Hanson Date: Sun, 24 Jul 2005 05:10:03 +0000 (+0000) Subject: Use 'OS_malloc' for default definition of 'HEAP_MALLOC', because the X-Git-Tag: 20090517-FFI~1240 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=adeb4e15dc460b6c181a139f5a94e99334097719;p=mit-scheme.git Use 'OS_malloc' for default definition of 'HEAP_MALLOC', because the latter isn't allowed to return the null pointer. --- diff --git a/v7/src/microcode/object.h b/v7/src/microcode/object.h index 79fcd6688..aba1a7e16 100644 --- a/v7/src/microcode/object.h +++ b/v7/src/microcode/object.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: object.h,v 9.58 2005/07/15 05:31:58 cph Exp $ +$Id: object.h,v 9.59 2005/07/24 05:10:03 cph Exp $ Copyright 1986,1987,1988,1989,1990,1992 Massachusetts Institute of Technology Copyright 1993,1995,1997,1998,2000,2001 Massachusetts Institute of Technology @@ -120,7 +120,7 @@ USA. /* Machine dependencies */ #ifndef HEAP_MALLOC -# define HEAP_MALLOC malloc +# define HEAP_MALLOC OS_malloc #endif #ifdef HEAP_IN_LOW_MEMORY /* Storing absolute addresses */