From d46991c6de029dbec0033be1dcb7fde23edada26 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 16 Dec 2002 15:30:00 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ file.c | 3 +++ 2 files changed, 7 insertions(+) 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 + + * file.c (utimbuf): need to define for VC++. + Mon Dec 16 15:53:20 2002 Nobuyoshi Nakada * 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)