mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-05 14:20:03 -05:00
libfuse cleanup: remove libfuse API compatibility
This commit is contained in:
parent
3bfdd78434
commit
3c761b708b
15 changed files with 24 additions and 1092 deletions
|
|
@ -1834,28 +1834,6 @@ extern "C" {
|
|||
*/
|
||||
void fuse_chan_destroy(struct fuse_chan *ch);
|
||||
|
||||
/* ----------------------------------------------------------- *
|
||||
* Compatibility stuff *
|
||||
* ----------------------------------------------------------- */
|
||||
|
||||
#if FUSE_USE_VERSION < 26
|
||||
# include "fuse_lowlevel_compat.h"
|
||||
# define fuse_chan_ops fuse_chan_ops_compat24
|
||||
# define fuse_chan_new fuse_chan_new_compat24
|
||||
# if FUSE_USE_VERSION == 25
|
||||
# define fuse_lowlevel_ops fuse_lowlevel_ops_compat25
|
||||
# define fuse_lowlevel_new fuse_lowlevel_new_compat25
|
||||
# elif FUSE_USE_VERSION == 24
|
||||
# define fuse_lowlevel_ops fuse_lowlevel_ops_compat
|
||||
# define fuse_lowlevel_new fuse_lowlevel_new_compat
|
||||
# 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
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue