From 0c21dd39240499767a0aba592b77ac2d225f476f Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sat, 11 Jan 2014 22:13:18 +0100 Subject: [PATCH] Added CLOCK_REALTIME to clock_gettime emulation. --- deps/tinycthread.h | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/tinycthread.h b/deps/tinycthread.h index 18451ef9..86a90804 100644 --- a/deps/tinycthread.h +++ b/deps/tinycthread.h @@ -122,6 +122,7 @@ typedef int _tthread_clockid_t; /* Emulate clock_gettime */ int _tthread_clock_gettime(clockid_t clk_id, struct timespec *ts); #define clock_gettime _tthread_clock_gettime +#define CLOCK_REALTIME 0 #endif