X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftime%2Ftime.h;h=5c916f4c4c2ef04b9648791d862bb3eea731a6cd;hb=80e95491125b762e46fa4295cafb43fe21e15136;hp=287558d0c735d7150f4d24a9404c711b830b7f62;hpb=1b11d06b6d28c65cc38f0091e624e2809e866275;p=ccan diff --git a/ccan/time/time.h b/ccan/time/time.h index 287558d0..5c916f4c 100644 --- a/ccan/time/time.h +++ b/ccan/time/time.h @@ -66,7 +66,7 @@ struct timemono { * Otherwise time_mono() just refers to time_now(). Your code might * test this if you really need a monotonic clock. */ -#if (HAVE_CLOCK_GETTIME || HAVE_CLOCK_GETTIME_IN_LIBRT) && defined(CLOCK_MONOTONIC) +#if HAVE_CLOCK_GETTIME && defined(CLOCK_MONOTONIC) #define TIME_HAVE_MONOTONIC 1 #endif