mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:19:00 +08:00
[gettimeofday] use timespec from msvc
This commit is contained in:
parent
2149fbdf59
commit
7ed6466a9d
@ -4,12 +4,9 @@
|
||||
#ifdef _MSC_VER
|
||||
|
||||
#include <winsock2.h>
|
||||
int gettimeofday(struct timeval * tp, struct timezone * tzp);
|
||||
#include <time.h>
|
||||
|
||||
struct timespec {
|
||||
time_t tv_sec;
|
||||
time_t tv_nsec;
|
||||
};
|
||||
int gettimeofday(struct timeval * tp, struct timezone * tzp);
|
||||
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user