From d0465cc9e07816fceee1e126a5b834de8ed2d6bd Mon Sep 17 00:00:00 2001 From: usa Date: Sat, 28 Jun 2014 13:58:01 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ ext/pathname/pathname.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5f718096db..114655051b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Jun 28 22:57:01 2014 NAKAMURA Usaku + + * ext/pathname/pathname.c (path_birthtime): Windows support. + see [Feature #9857] [ruby-dev:48339] + Sat Jun 28 22:44:16 2014 Tanaka Akira * 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) {