From 7ed6466a9dce1d00769214ac8e9548977e835963 Mon Sep 17 00:00:00 2001 From: xoviat Date: Fri, 27 Oct 2017 15:22:44 -0500 Subject: [gettimeofday] use timespec from msvc --- ports/gettimeofday/gettimeofday.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ports/gettimeofday/gettimeofday.h b/ports/gettimeofday/gettimeofday.h index 94c58ea73..227317524 100644 --- a/ports/gettimeofday/gettimeofday.h +++ b/ports/gettimeofday/gettimeofday.h @@ -4,12 +4,9 @@ #ifdef _MSC_VER #include -int gettimeofday(struct timeval * tp, struct timezone * tzp); +#include -struct timespec { - time_t tv_sec; - time_t tv_nsec; -}; +int gettimeofday(struct timeval * tp, struct timezone * tzp); #endif /* _MSC_VER */ -- cgit v1.2.3