aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 62f954ac40..6e79ab9730 100644
--- a/file.c
+++ b/file.c
@@ -82,7 +82,7 @@ typedef struct statvfs statfs_t;
static VALUE rb_statfs_new(const statfs_t *st);
#if defined(HAVE_FSTATFS)
#define FSTATFS(f, s) fstatfs((f), (s))
-#elif !defined(HAVE_FSTATVFS)
+#elif defined(HAVE_FSTATVFS)
#define FSTATFS(f, s) fstatvfs((f), (s))
#endif
#endif