We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
|| TARGET_OS_WASI
uuid.c
1 parent 3211ef0 commit 8878bf3Copy full SHA for 8878bf3
Sources/UUID/uuid.c
@@ -61,7 +61,7 @@ static inline void nanotime(struct timespec *tv) {
61
tv->tv_nsec = now - (tv->tv_sec * 1000000000);
62
}
63
64
-#elif TARGET_OS_LINUX || TARGET_OS_BSD
+#elif TARGET_OS_LINUX || TARGET_OS_BSD || TARGET_OS_WASI
65
#include <time.h>
66
67
static inline void nanotime(struct timespec *tv) {
0 commit comments