diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-28 13:58:01 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-28 13:58:01 +0000 |
commit | d0465cc9e07816fceee1e126a5b834de8ed2d6bd (patch) | |
tree | 4524714a5a646ffe98a65b83cef6948259c4eac9 | |
parent | 3436b7bbad325af18f1b5c4e88d6959ebf46f3c4 (diff) |
* ext/pathname/pathname.c (path_birthtime): Windows support.
see [Feature #9857] [ruby-dev:48339]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/pathname/pathname.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Jun 28 22:57:01 2014 NAKAMURA Usaku <[email protected]> + + * ext/pathname/pathname.c (path_birthtime): Windows support. + see [Feature #9857] [ruby-dev:48339] + Sat Jun 28 22:44:16 2014 Tanaka Akira <[email protected]> * ext/pathname/pathname.c (path_birthtime): New method, diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c index 2729633872..995c96ae07 100644 --- a/ext/pathname/pathname.c +++ b/ext/pathname/pathname.c @@ -449,7 +449,7 @@ path_atime(VALUE self) * * See File.birthtime. */ -#if defined(HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC) +#if defined(HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC) || defined(_WIN32) static VALUE path_birthtime(VALUE self) { |