diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-16 15:30:00 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-16 15:30:00 +0000 |
| commit | f6535f06f42a010155cb351a9b5941ce3263861e (patch) | |
| tree | 119e1d5eaa16161b238f43e96f431b245516a42d | |
| parent | 7d3b288f6b3caac3578e08800eb211f416eeb1c2 (diff) | |
| download | ruby-f6535f06f42a010155cb351a9b5941ce3263861e.tar.gz ruby-f6535f06f42a010155cb351a9b5941ce3263861e.tar.xz ruby-f6535f06f42a010155cb351a9b5941ce3263861e.zip | |
* file.c (utimbuf): need to define for VC++.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | file.c | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -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 @@ -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) |
