aboutsummaryrefslogtreecommitdiffstats
path: root/ext
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 /ext
parent3436b7bbad325af18f1b5c4e88d6959ebf46f3c4 (diff)
downloadruby-d0465cc9e07816fceee1e126a5b834de8ed2d6bd.tar.gz
* 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
Diffstat (limited to 'ext')
-rw-r--r--ext/pathname/pathname.c2
1 files changed, 1 insertions, 1 deletions
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)
{