summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/file.c b/file.c
index 49952a7da0..f8a0037e3c 100644
--- a/file.c
+++ b/file.c
@@ -1201,6 +1201,9 @@ struct utimbuf {
long modtime;
};
#endif
+#if defined(_WIN32) && !defined(_WIN32_WCE)&& (defined(_MSC_VER) || defined(__MINGW__))
+# define utimbuf _utimbuf
+#endif
static void
utime_internal(path, utp)