diff options
Diffstat (limited to 'lib/fuse_misc.h')
-rw-r--r-- | lib/fuse_misc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/fuse_misc.h b/lib/fuse_misc.h index 1839a67..2f6663e 100644 --- a/lib/fuse_misc.h +++ b/lib/fuse_misc.h @@ -8,6 +8,17 @@ #include <pthread.h> +/* + Versioned symbols cannot be used in some cases because it + - confuse the dynamic linker in uClibc + - not supported on MacOSX (in MachO binary format) +*/ +#if (!defined(__UCLIBC__) && !defined(__APPLE__)) +#define FUSE_SYMVER(x) __asm__(x) +#else +#define FUSE_SYMVER(x) +#endif + #ifndef USE_UCLIBC #define fuse_mutex_init(mut) pthread_mutex_init(mut, NULL) #else |