hide clock_gettime definition on WIN32
This commit is contained in:
parent
0829e7f654
commit
4f1c9507b6
@ -33,6 +33,7 @@ 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
|
||||||
typedef int clockid_t;
|
typedef int clockid_t;
|
||||||
int clock_gettime(clockid_t clock_id, struct timespec *tp);
|
int clock_gettime(clockid_t clock_id, struct timespec *tp);
|
||||||
@ -49,5 +50,6 @@ int clock_gettime(clockid_t clock_id, struct timespec *tp);
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user