summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-16 15:30:00 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-16 15:30:00 +0000
commitd46991c6de029dbec0033be1dcb7fde23edada26 (patch)
tree119e1d5eaa16161b238f43e96f431b245516a42d
parent6b5525de2c8aaf75205439f8175d45b80463a0db (diff)
* file.c (utimbuf): need to define for VC++.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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)