hide clock_gettime on win32
This commit is contained in:
parent
987aa6a084
commit
7ffaf00415
@ -30,10 +30,12 @@ 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
|
||||
#endif
|
||||
|
||||
#ifndef timespecsub
|
||||
#define timespecsub(tsp, usp, vsp) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user