Don't go for pre 2.5 compatibility.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29594 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3e9b338ea7
commit
270ef7be8c
headers/private/userlandfs/fuse
@ -207,9 +207,9 @@ void fuse_remove_signal_handlers(struct fuse_session *se);
|
||||
* ----------------------------------------------------------- */
|
||||
|
||||
#if FUSE_USE_VERSION < 26
|
||||
# ifdef __FreeBSD__
|
||||
# if defined(__FreeBSD__) || defined(__HAIKU__)
|
||||
# if FUSE_USE_VERSION < 25
|
||||
# error On FreeBSD API version 25 or greater must be used
|
||||
# error On FreeBSD and Haiku API version 25 or greater must be used
|
||||
# endif
|
||||
# endif
|
||||
# include "fuse_common_compat.h"
|
||||
|
@ -65,7 +65,7 @@ struct fuse *fuse_setup_compat25(int argc, char *argv[],
|
||||
|
||||
void fuse_teardown_compat22(struct fuse *fuse, int fd, char *mountpoint);
|
||||
|
||||
#ifndef __FreeBSD__
|
||||
#if !defined(__FreeBSD__) && !defined(__HAIKU__)
|
||||
#include <sys/statfs.h>
|
||||
|
||||
struct fuse_operations_compat22 {
|
||||
@ -198,4 +198,4 @@ struct fuse *fuse_new_compat1(int fd, int flags,
|
||||
void fuse_main_compat1(int argc, char *argv[],
|
||||
const struct fuse_operations_compat1 *op);
|
||||
|
||||
#endif /* __FreeBSD__ */
|
||||
#endif /* !__FreeBSD__ && !__HAIKU__ */
|
||||
|
@ -72,7 +72,7 @@ size_t fuse_dirent_size(size_t namelen);
|
||||
char *fuse_add_dirent(char *buf, const char *name, const struct stat *stbuf,
|
||||
off_t off);
|
||||
|
||||
#ifndef __FreeBSD__
|
||||
#if !defined(__FreeBSD__) && !defined(__HAIKU__)
|
||||
|
||||
#include <sys/statfs.h>
|
||||
|
||||
@ -139,7 +139,7 @@ struct fuse_session *fuse_lowlevel_new_compat(const char *opts,
|
||||
const struct fuse_lowlevel_ops_compat *op,
|
||||
size_t op_size, void *userdata);
|
||||
|
||||
#endif /* __FreeBSD__ */
|
||||
#endif /* !__FreeBSD__ && !__HAIKU__ */
|
||||
|
||||
struct fuse_chan_ops_compat24 {
|
||||
int (*receive)(struct fuse_chan *ch, char *buf, size_t size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user