X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftime%2Ftime.h;h=6ab61a99c3a5108fc1a391b2549178c536cf60c9;hb=adaf79a8acb1b4d33cf1eb030659fbc5fae86f98;hp=70ebdc9a7751ca5be434329421618c58f177c9c7;hpb=61f58ff94e35c9b8ac5488554e2554bc5c9888b3;p=ccan 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);