From adebdb38076fc076ca2d5deaecd63afceba9428e Mon Sep 17 00:00:00 2001 From: David Jones Date: Fri, 4 Apr 1997 17:26:08 +0100 Subject: [PATCH] Adding hack for stdio for lcc Copied from Perforce Change: 17373 ServerID: perforce.ravenbrook.com --- mps/src/locv.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/mps/src/locv.c b/mps/src/locv.c index 054ed41b734..8458a379fd6 100644 --- a/mps/src/locv.c +++ b/mps/src/locv.c @@ -1,13 +1,17 @@ -/* impl.c.locv +/* impl.c.locv * - * Leaf Object Pool Class Coverage Test + * Leaf Object Pool Class Coverage Test * - * $HopeName: MMsrc!locv.c(trunk.8) $ + * $HopeName: MMsrc!locv.c(trunk.8) $ * - * Copyright (C) 1996 Harlequin Group, all rights reserved + * Copyright (C) 1996,1997 Harlequin Group, all rights reserved * - * This is (not much of) a coverage test for the Leaf Object - * pool (PoolClassLO). + * This is (not much of) a coverage test for the Leaf Object + * pool (PoolClassLO). + * + * .hack.stdio: On platform.susplc the assert macro in assert.h uses + * stderr without declaring it. Therefore using the assert macro will + * not work unless stderr has been declared by #including . */ #include "testlib.h" @@ -15,6 +19,9 @@ #include "mpsclo.h" #include +#ifdef MPS_PF_SUSPLC +#include /* .hack.stdio */ +#endif static mps_res_t scan(mps_ss_t ss, mps_addr_t base, mps_addr_t limit);