summaryrefslogtreecommitdiff
path: root/ext/pathname
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-28 13:58:01 (GMT)
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-28 13:58:01 (GMT)
commitd0465cc9e07816fceee1e126a5b834de8ed2d6bd (patch)
tree4524714a5a646ffe98a65b83cef6948259c4eac9 /ext/pathname
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
Diffstat (limited to 'ext/pathname')
-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 2729633..995c96a 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)
{