From c16a63e32390bcd0ea1fc042acf0f68c5aaea796 Mon Sep 17 00:00:00 2001 From: cristy Date: Mon, 28 Sep 2009 13:20:14 +0000 Subject: [PATCH] --- magick/random.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/magick/random.c b/magick/random.c index ba0c61c1e..fe0c78402 100644 --- a/magick/random.c +++ b/magick/random.c @@ -431,12 +431,12 @@ static StringInfo *GenerateEntropicChaos(RandomInfo *random_info) } } #endif -#if defined(MAGICKCORE_HAVE_CLOCK_GETTIME) && defined(CLOCK_HIGHRES) +#if defined(MAGICKCORE_HAVE_CLOCK_GETTIME) && defined(CLOCK_REALTIME_HR) { struct timespec timer; - if (clock_gettime(CLOCK_HIGHRES,&timer) == 0) + if (clock_gettime(CLOCK_REALTIME_HR,&timer) == 0) { seconds=timer.tv_sec; nanoseconds=timer.tv_nsec; -- 2.50.1