aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pathname/pathname.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pathname/pathname.c')
-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)
{