summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander von Gluck IV <kallisti5@unixzen.com>2017-11-12 15:24:15 -0600
committerAlexander von Gluck IV <kallisti5@unixzen.com>2017-11-13 16:45:14 -0600
commit8f9d9ddcae2f6f996a394d193a98358fee538fe3 (patch)
tree33f88ad1deb550d9437a2b7077adb9babb52e4b9 /include
parentf09e001a05cbd1b0cbda6b5a8ff5731b6d612c22 (diff)
c11/haiku: Define missing timespec_get on Haiku
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'include')
-rw-r--r--include/c11/threads_posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/c11/threads_posix.h b/include/c11/threads_posix.h
index 7bf6a0f6ef..2d7ac1326d 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)
{