From adeb4e15dc460b6c181a139f5a94e99334097719 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 24 Jul 2005 05:10:03 +0000 Subject: [PATCH] Use 'OS_malloc' for default definition of 'HEAP_MALLOC', because the latter isn't allowed to return the null pointer. --- v7/src/microcode/object.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.25.1