From 6d003dd014a69442ddbf75e0c9a1e536f139cd00 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 15 Jan 2005 17:19:47 +0000 Subject: (isaac_seed) [HAVE_GETHRTIME]: #if-0 this block, because just calling gethrtime evokes an `illegal instruction' failure when compiled with Sun's c89 on Solaris 8 and 9. --- src/shred.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/shred.c b/src/shred.c index 2e45ff256..b84a75f12 100644 --- a/src/shred.c +++ b/src/shred.c @@ -587,7 +587,10 @@ isaac_seed (struct isaac_state *s) { gid_t t = getgid (); ISAAC_SEED (s, t); } { -#if HAVE_GETHRTIME +#if 0 && HAVE_GETHRTIME + /* This block if if-0'd out for now because it makes shred + fail with an `illegal instruction' when compiled with Sun's + c89 on Solaris 8 and 9. */ hrtime_t t = gethrtime (); #elif HAVE_CLOCK_GETTIME /* POSIX ns-resolution */ struct timespec t; -- cgit v1.2.3-70-g09d2