threads,configure.ac,meson.build: define and use HAVE_TIMESPEC_GET
[mesa.git] / include / c11 / threads_posix.h
index 2d7ac1326dec4718dd92ab1a165196b7707175ce..45cb6075e6e08a083bd1faba07d87aff206ea58b 100644 (file)
@@ -382,7 +382,7 @@ tss_set(tss_t key, void *val)
 
 /*-------------------- 7.25.7 Time functions --------------------*/
 // 7.25.6.1
-#ifdef __HAIKU__
+#ifndef HAVE_TIMESPEC_GET
 static inline int
 timespec_get(struct timespec *ts, int base)
 {