From: simonmar Date: Wed, 24 May 2000 11:01:07 +0000 (+0000) Subject: [project @ 2000-05-24 11:01:07 by simonmar] X-Git-Tag: Approximately_9120_patches~4393 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=a53c1fd832bd00e4a6d995b230bb7b1f31c06a97;p=ghc-hetmet.git [project @ 2000-05-24 11:01:07 by simonmar] Don't try to use getclock on HPUX, gettimeofday is more standard in any case. --- 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) {