From: Alexander von Gluck IV Date: Sun, 12 Nov 2017 21:24:15 +0000 (-0600) Subject: c11/haiku: Define missing timespec_get on Haiku X-Git-Tag: upstream/18.1.0~4117 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f9d9ddcae2f6f996a394d193a98358fee538fe3;p=platform%2Fupstream%2Fmesa.git c11/haiku: Define missing timespec_get on Haiku Reviewed-by: Brian Paul --- diff --git a/include/c11/threads_posix.h b/include/c11/threads_posix.h index 7bf6a0f..2d7ac13 100644 --- a/include/c11/threads_posix.h +++ b/include/c11/threads_posix.h @@ -382,7 +382,7 @@ tss_set(tss_t key, void *val) /*-------------------- 7.25.7 Time functions --------------------*/ // 7.25.6.1 -#if 0 +#ifdef __HAIKU__ static inline int timespec_get(struct timespec *ts, int base) {