X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftime%2Ftime.h;fp=ccan%2Ftime%2Ftime.h;h=5c916f4c4c2ef04b9648791d862bb3eea731a6cd;hp=287558d0c735d7150f4d24a9404c711b830b7f62;hb=58c5a3524737ec1f6500dd766f717e2f158fc5c0;hpb=3d3e9b9cbf0bf43c3ce2670175d936677e29f621 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