From d139a7ae37a61da8f641f0cae33d0ceb7479f398 Mon Sep 17 00:00:00 2001 From: sof Date: Tue, 25 Mar 2003 17:24:30 +0000 Subject: [PATCH] [project @ 2003-03-25 17:24:30 by sof] msTime(): only used with PAR --- ghc/rts/RtsUtils.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghc/rts/RtsUtils.c b/ghc/rts/RtsUtils.c index 64b7758..b31b87e 100644 --- a/ghc/rts/RtsUtils.c +++ b/ghc/rts/RtsUtils.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: RtsUtils.c,v 1.30 2003/03/19 18:41:19 sof Exp $ + * $Id: RtsUtils.c,v 1.31 2003/03/25 17:24:30 sof Exp $ * * (c) The GHC Team, 1998-2002 * @@ -260,6 +260,7 @@ void resetNonBlockingFd(int fd STG_UNUSED) {} void setNonBlockingFd(int fd STG_UNUSED) {} #endif +#ifdef PAR static ullong startTime = 0; /* used in a parallel setup */ @@ -294,6 +295,7 @@ msTime(void) return t * LL(1000) - startTime; # endif } +#endif /* PAR */ /* ----------------------------------------------------------------------------- Print large numbers, with punctuation. -- 1.7.10.4