From 6e08e9e4bc737dedf4d74af64eefa83bf364553e Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 8 Oct 1995 15:28:45 +0000 Subject: [PATCH] Fix bug: define HEAP_FREE for OS/2. The procedure `free' has changed in the most recent release of the IBM C compiler, and barfs when it is handed a null pointer. Previously, it did nothing -- but it had not been my intention to take advantage of this behavior. --- v7/src/microcode/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v7/src/microcode/config.h b/v7/src/microcode/config.h index 690a37a2f..70971ae4b 100644 --- a/v7/src/microcode/config.h +++ b/v7/src/microcode/config.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: config.h,v 9.92 1995/10/05 06:32:26 cph Exp $ +$Id: config.h,v 9.93 1995/10/08 15:28:45 cph Exp $ Copyright (c) 1987-95 Massachusetts Institute of Technology @@ -577,6 +577,7 @@ extern void * alpha_heap_malloc (long); extern void * OS2_commit_heap (unsigned long); #define HEAP_MALLOC OS2_commit_heap +#define HEAP_FREE(address) #define EXIT_SCHEME_DECLARATIONS extern void OS2_exit_scheme (int) #define EXIT_SCHEME OS2_exit_scheme -- 2.25.1