summaryrefslogtreecommitdiffstats
path: root/fuse/fuse_misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'fuse/fuse_misc.h')
-rw-r--r--fuse/fuse_misc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/fuse/fuse_misc.h b/fuse/fuse_misc.h
index c2cfee17a..eedf0e0f7 100644
--- a/fuse/fuse_misc.h
+++ b/fuse/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)