X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftime%2Ftime.h;h=6ab61a99c3a5108fc1a391b2549178c536cf60c9;hp=70ebdc9a7751ca5be434329421618c58f177c9c7;hb=294fb52e52d49538451087719354c4965bd8d49b;hpb=615189ae6de685ae6eb5a19b877340d731bba747 diff --git a/ccan/time/time.h b/ccan/time/time.h index 70ebdc9a..6ab61a99 100644 --- a/ccan/time/time.h +++ b/ccan/time/time.h @@ -71,6 +71,8 @@ struct timemono { */ #if HAVE_CLOCK_GETTIME && defined(CLOCK_MONOTONIC) #define TIME_HAVE_MONOTONIC 1 +#else +#define TIME_HAVE_MONOTONIC 0 #endif struct timespec time_check_(struct timespec in, const char *abortstr);