From: Chris Hanson Date: Sun, 8 Oct 1995 15:28:45 +0000 (+0000) Subject: Fix bug: define HEAP_FREE for OS/2. The procedure `free' has changed X-Git-Tag: 20090517-FFI~5910 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=6e08e9e4bc737dedf4d74af64eefa83bf364553e;p=mit-scheme.git 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. --- 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