aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-28 19:35:39 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-28 19:35:39 +0000
commitc521d87f68305aa0a68d4f08c663d8a9af981aa7 (patch)
treed1b3620007678831eabca36a05c469963e46cfd1 /file.c
parent5aa94c6cdb49880f046099452ebe5cffd6bbc311 (diff)
downloadruby-c521d87f68305aa0a68d4f08c663d8a9af981aa7.tar.gz
fix preprocessor condition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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