From 87c7793d1dfef4962cf656a93875023e79e63b59 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 10 Mar 2006 10:18:20 +0000 Subject: fix --- include/fuse_lowlevel.h | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'include/fuse_lowlevel.h') diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index f042dfb..3cfff32 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -1236,27 +1236,19 @@ void fuse_remove_signal_handlers(struct fuse_session *se); * Compatibility stuff * * ----------------------------------------------------------- */ -#ifdef __FreeBSD__ -# if FUSE_USE_VERSION < 25 -# error On FreeBSD API version 25 or greater must be used -# endif -#endif - -#if FUSE_USE_VERSION == 25 || FUSE_USE_VERSION == 24 +#if FUSE_USE_VERSION < 26 # include "fuse_lowlevel_compat.h" # undef FUSE_MINOR_VERSION # if FUSE_USE_VERSION == 25 -# define FUSE_MINOR_VERSION 5 # define fuse_lowlevel_ops fuse_lowlevel_ops_compat25 # define fuse_lowlevel_new fuse_lowlevel_new_compat25 -# else -# define FUSE_MINOR_VERSION 4 +# elif FUSE_USE_VERSION == 24 # define fuse_file_info fuse_file_info_compat # define fuse_reply_statfs fuse_reply_statfs_compat # define fuse_reply_open fuse_reply_open_compat +# else +# error Compatibility with low-level API version < 24 not supported # endif -#elif FUSE_USE_VERSION < 26 -# error Compatibility with low level API version other than 24 and 25 not supported #endif #ifdef __cplusplus -- cgit v1.2.3