summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 626043816f0..10da7030594 100644
--- a/file.c
+++ b/file.c
@@ -3355,7 +3355,6 @@ getcwdofdrv(int drv)
}
return drvcwd;
}
-#endif
static inline int
not_same_drive(VALUE path, int drive)
@@ -3370,6 +3369,7 @@ not_same_drive(VALUE path, int drive)
}
}
#endif
+#endif
static inline char *
skiproot(const char *path, const char *end, rb_encoding *enc)