diff options
-rw-r--r-- | include/compat/time.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compat/time.h b/include/compat/time.h index d43dfcb..117a441 100644 --- a/include/compat/time.h +++ b/include/compat/time.h | |||
@@ -30,10 +30,12 @@ time_t timegm(struct tm *tm); | |||
30 | #define CLOCK_REALTIME 0 | 30 | #define CLOCK_REALTIME 0 |
31 | #endif | 31 | #endif |
32 | 32 | ||
33 | #ifndef _WIN32 | ||
33 | #ifndef HAVE_CLOCK_GETTIME | 34 | #ifndef HAVE_CLOCK_GETTIME |
34 | int | 35 | int |
35 | clock_gettime(clockid_t clock_id, struct timespec *tp); | 36 | clock_gettime(clockid_t clock_id, struct timespec *tp); |
36 | #endif | 37 | #endif |
38 | #endif | ||
37 | 39 | ||
38 | #ifndef timespecsub | 40 | #ifndef timespecsub |
39 | #define timespecsub(tsp, usp, vsp) \ | 41 | #define timespecsub(tsp, usp, vsp) \ |