aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/file.c b/file.c
index bd8aeec784..00ef6e90d0 100644
--- a/file.c
+++ b/file.c
@@ -2790,6 +2790,7 @@ rb_file_s_readlink(VALUE klass, VALUE path)
return rb_readlink(path);
}
+#ifndef _WIN32
VALUE
rb_readlink(VALUE path)
{
@@ -2818,6 +2819,7 @@ rb_readlink(VALUE path)
return v;
}
+#endif
#else
#define rb_file_s_readlink rb_f_notimplement
#endif