summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-28 13:58:01 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-28 13:58:01 +0000
commitd0465cc9e07816fceee1e126a5b834de8ed2d6bd (patch)
tree4524714a5a646ffe98a65b83cef6948259c4eac9
parent3436b7bbad325af18f1b5c4e88d6959ebf46f3c4 (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--ChangeLog5
-rw-r--r--ext/pathname/pathname.c2
2 files changed, 6 insertions, 1 deletions
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 <usa@ruby-lang.org>
+
+ * ext/pathname/pathname.c (path_birthtime): Windows support.
+ see [Feature #9857] [ruby-dev:48339]
+
Sat Jun 28 22:44:16 2014 Tanaka Akira <akr@fsij.org>
* 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)
{