diff --git a/file.c b/file.c index 626043816f..10da703059 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)