summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--file.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 42282e1748..52dbddfaea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Dec 17 00:28:19 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * file.c (utimbuf): need to define for VC++.
+
Mon Dec 16 15:53:20 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (nextc): get rid of overrun. (pointed out by akr
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)