Added CLOCK_REALTIME to clock_gettime emulation.

This commit is contained in:
Camilla Berglund 2014-01-11 22:13:18 +01:00
parent fe05515f43
commit 0c21dd3924

1
deps/tinycthread.h vendored
View File

@ -122,6 +122,7 @@ typedef int _tthread_clockid_t;
/* Emulate clock_gettime */ /* Emulate clock_gettime */
int _tthread_clock_gettime(clockid_t clk_id, struct timespec *ts); int _tthread_clock_gettime(clockid_t clk_id, struct timespec *ts);
#define clock_gettime _tthread_clock_gettime #define clock_gettime _tthread_clock_gettime
#define CLOCK_REALTIME 0
#endif #endif