summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index b8bd25b..e2d9d61 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -613,6 +613,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_STRUCT_TIMEVAL 1
+!if $(MSC_VER) >= 1900
+#define HAVE_STRUCT_TIMESPEC
+!endif
!if $(MSC_VER) >= 1600
#define HAVE_STDINT_H 1
!else