aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse_misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fuse_misc.h')
-rw-r--r--lib/fuse_misc.h8
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;