X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftime%2Ftime.h;h=e4298d07055d1ab66ad816a042ede0bcf9720b26;hb=HEAD;hp=70ebdc9a7751ca5be434329421618c58f177c9c7;hpb=61f58ff94e35c9b8ac5488554e2554bc5c9888b3;p=ccan diff --git a/ccan/time/time.h b/ccan/time/time.h index 70ebdc9a..2fc8161e 100644 --- a/ccan/time/time.h +++ b/ccan/time/time.h @@ -42,7 +42,7 @@ struct timerel { }; /** - * struct timeabs - an absolue time. + * struct timeabs - an absolute time. * @ts: the actual timespec value. * * For example, Midnight UTC January 1st, 1970: ts.tv_sec = 0, ts.tv_nsec = 0 @@ -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);