* 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
This commit is contained in:
usa 2002-12-16 15:30:00 +00:00
parent 6b5525de2c
commit d46991c6de
2 changed files with 7 additions and 0 deletions

View File

@ -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

3
file.c
View File

@ -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)