[project @ 2000-05-24 11:01:07 by simonmar]
authorsimonmar <unknown>
Wed, 24 May 2000 11:01:07 +0000 (11:01 +0000)
committersimonmar <unknown>
Wed, 24 May 2000 11:01:07 +0000 (11:01 +0000)
Don't try to use getclock on HPUX, gettimeofday is more standard in
any case.

ghc/rts/RtsUtils.c

index 23bf0d6..c35d038 100644 (file)
@@ -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) {