From c5ff9544107796fee2a6cccafdd1da5181e53b87 Mon Sep 17 00:00:00 2001 From: xtkoba <69125751+xtkoba@users.noreply.github.com> Date: Sun, 9 May 2021 10:32:11 +0900 Subject: Get rid of unused function warning for `_WIN32` --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3