summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadek Podgorny <radek@podgorny.cz>2015-06-16 15:56:27 +0200
committerRadek Podgorny <radek@podgorny.cz>2015-06-16 15:56:27 +0200
commit0912bbbb68ef1a3b34faca2c5fe6de6a11013661 (patch)
tree3ab36ae01790f219ba5b59280e7cc11d88f85ea9
parent7b8c730abdb85c1498bce20db9f5153ea2952ba0 (diff)
downloadunionfs-fuse-git-0912bbbb68ef1a3b34faca2c5fe6de6a11013661.tar.gz
check for current fuse version using the correct define
-rw-r--r--src/unionfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unionfs.c b/src/unionfs.c
index 9b13d4e..80cf48c 100644
--- a/src/unionfs.c
+++ b/src/unionfs.c
@@ -267,7 +267,7 @@ static int unionfs_link(const char *from, const char *to) {
RETURN(0);
}
-#if FUSE_USE_VERSION >= 28
+#if FUSE_VERSION >= 28
static int unionfs_ioctl(const char *path, int cmd, void *arg, struct fuse_file_info *fi, unsigned int flags, void *data) {
(void) path;
(void) arg; // avoid compiler warning
@@ -810,7 +810,7 @@ static struct fuse_operations unionfs_oper = {
.fsync = unionfs_fsync,
.getattr = unionfs_getattr,
.init = unionfs_init,
-#if FUSE_USE_VERSION >= 28
+#if FUSE_VERSION >= 28
.ioctl = unionfs_ioctl,
#endif
.link = unionfs_link,