mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-23 12:14:15 +08:00
Define fuse_session_loop_mt as a macro on uclibc and MacOS (#532)
On uclibc and MacOS we don't use versioned symbols. Hence, there's no definition for fuse_session_loop_mt on those cases and the linker won't be able to resolve calls to fuse_session_loop_mt() Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
This commit is contained in:
parent
c5e8684b5a
commit
7b3e389915
@ -1982,7 +1982,12 @@ int fuse_session_loop(struct fuse_session *se);
|
||||
int fuse_session_loop_mt_31(struct fuse_session *se, int clone_fd);
|
||||
#define fuse_session_loop_mt(se, clone_fd) fuse_session_loop_mt_31(se, clone_fd)
|
||||
#else
|
||||
#if (!defined(__UCLIBC__) && !defined(__APPLE__))
|
||||
int fuse_session_loop_mt(struct fuse_session *se, struct fuse_loop_config *config);
|
||||
#else
|
||||
int fuse_session_loop_mt_32(struct fuse_session *se, struct fuse_loop_config *config);
|
||||
#define fuse_session_loop_mt(se, config) fuse_session_loop_mt_32(se, config)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -146,6 +146,7 @@ FUSE_3.2 {
|
||||
global:
|
||||
fuse_session_loop_mt;
|
||||
fuse_session_loop_mt_31;
|
||||
fuse_session_loop_mt_32;
|
||||
fuse_loop_mt;
|
||||
fuse_loop_mt_31;
|
||||
} FUSE_3.1;
|
||||
|
Loading…
Reference in New Issue
Block a user