From a53c1fd832bd00e4a6d995b230bb7b1f31c06a97 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 24 May 2000 11:01:07 +0000 Subject: [PATCH] [project @ 2000-05-24 11:01:07 by simonmar] Don't try to use getclock on HPUX, gettimeofday is more standard in any case. --- ghc/rts/RtsUtils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/rts/RtsUtils.c b/ghc/rts/RtsUtils.c index 23bf0d6..c35d038 100644 --- a/ghc/rts/RtsUtils.c +++ b/ghc/rts/RtsUtils.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: RtsUtils.c,v 1.15 2000/04/14 14:07:43 simonmar Exp $ + * $Id: RtsUtils.c,v 1.16 2000/05/24 11:01:07 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -233,7 +233,7 @@ static ullong startTime = 0; ullong msTime(void) { -# if defined(HAVE_GETCLOCK) && !defined(alpha_TARGET_ARCH) +# if defined(HAVE_GETCLOCK) && !defined(alpha_TARGET_ARCH) && !defined(hppa1_1_TARGET_ARCH) struct timespec tv; if (getclock(TIMEOFDAY, &tv) != 0) { -- 1.7.10.4