| commit | c16a63e32390bcd0ea1fc042acf0f68c5aaea796 | [log] [tgz] |
|---|---|---|
| author | cristy <urban-warrior@git.imagemagick.org> | Mon Sep 28 13:20:14 2009 +0000 |
| committer | cristy <urban-warrior@git.imagemagick.org> | Mon Sep 28 13:20:14 2009 +0000 |
| tree | 827632be0fd6d3488c0f9b74758c66713ca85c32 | |
| parent | a57bf43738710ac272d430910dea7a0e2639145e [diff] |
diff --git a/magick/random.c b/magick/random.c index ba0c61c..fe0c784 100644 --- a/magick/random.c +++ b/magick/random.c
@@ -431,12 +431,12 @@ } } #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;