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
|
#define CLOCK_REALTIME 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
#ifndef HAVE_CLOCK_GETTIME
|
#ifndef HAVE_CLOCK_GETTIME
|
||||||
int
|
int
|
||||||
clock_gettime(clockid_t clock_id, struct timespec *tp);
|
clock_gettime(clockid_t clock_id, struct timespec *tp);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef timespecsub
|
#ifndef timespecsub
|
||||||
#define timespecsub(tsp, usp, vsp) \
|
#define timespecsub(tsp, usp, vsp) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user