diff options
Diffstat (limited to 'lib/fuse_misc.h')
-rw-r--r-- | lib/fuse_misc.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/fuse_misc.h b/lib/fuse_misc.h index c2cfee1..eedf0e0 100644 --- a/lib/fuse_misc.h +++ b/lib/fuse_misc.h @@ -9,8 +9,12 @@ #include "config.h" #include <pthread.h> -/* Versioned symbols confuse the dynamic linker in uClibc */ -#ifndef __UCLIBC__ +/* + 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) |