adjust definition of compat clock_gettime

This commit is contained in:
Brent Cook
2018-03-23 11:10:16 -05:00
parent 70e6be3d6e
commit 4b2a8cd1c1
2 changed files with 2 additions and 5 deletions

View File

@@ -30,11 +30,8 @@ time_t timegm(struct tm *tm);
#define CLOCK_REALTIME 0
#endif
#ifndef _WIN32
#ifndef HAVE_CLOCK_GETTIME
int
clock_gettime(clockid_t clock_id, struct timespec *tp);
#endif
int clock_gettime(int clock_id, struct timespec *tp);
#endif
#ifndef timespecsub