summaryrefslogtreecommitdiff
path: root/cmake/msvc/sys/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/msvc/sys/time.h')
-rw-r--r--cmake/msvc/sys/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/msvc/sys/time.h b/cmake/msvc/sys/time.h
index 8800ed5cbf..12acc8dc31 100644
--- a/cmake/msvc/sys/time.h
+++ b/cmake/msvc/sys/time.h
@@ -14,6 +14,7 @@
#define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL
#endif
+#if _MSC_VER < 1900
struct timespec {
time_t tv_sec; /* Seconds since 00:00:00 GMT, */
@@ -25,6 +26,7 @@ long tv_nsec; /* Additional nanoseconds since */
/* tv_sec */
};
+#endif
struct timezone
{