summaryrefslogtreecommitdiff
path: root/win32/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/time.h')
-rw-r--r--win32/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/time.h b/win32/time.h
index d5d86eb1ed..8f39c0481c 100644
--- a/win32/time.h
+++ b/win32/time.h
@@ -28,7 +28,7 @@ struct itimerval {
struct timeval it_value; /* current value */
};
-#ifndef timespec
+#if !defined(timespec) && _MSC_VER < 1900
struct timespec
{
time_t tv_sec; /* seconds */