]> git.ozlabs.org Git - ccan/blobdiff - ccan/time/time.h
base64: fix for unsigned chars (e.g. ARM).
[ccan] / ccan / time / time.h
index 70ebdc9a7751ca5be434329421618c58f177c9c7..2fc8161e74ebc3696c05ae2f1247987face8d35f 100644 (file)
@@ -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);