diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2007-12-12 11:53:38 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2007-12-12 11:53:38 +0000 |
commit | 918f0ad95b73e506d20488cb8ddd35d1a2524c7c (patch) | |
tree | c2adf3e3c71b94c59b8d64beb9a0ab83ab87119c /lib/fuse_misc.h | |
parent | 0b47f6bc8bfe939f12266ef41cba31a2eb2c5f30 (diff) | |
download | libfuse-918f0ad95b73e506d20488cb8ddd35d1a2524c7c.tar.gz |
Disable old symbol versions if __UCLIBC__ is defined
Diffstat (limited to 'lib/fuse_misc.h')
-rw-r--r-- | lib/fuse_misc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/fuse_misc.h b/lib/fuse_misc.h index 99e5117..4f5236a 100644 --- a/lib/fuse_misc.h +++ b/lib/fuse_misc.h @@ -9,9 +9,17 @@ #include "config.h" #include <pthread.h> +/* Versioned symbols confuse the dynamic linker in uClibc */ +#ifndef __UCLIBC__ +#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 +/* Is this hack still needed? */ static inline void fuse_mutex_init(pthread_mutex_t *mut) { pthread_mutexattr_t attr; |