Port: no symbols aliases on MacOS
[urcu.git] / include / urcu / flavor.h
index d2d19f6..93da38f 100644 (file)
@@ -79,9 +79,13 @@ const struct rcu_flavor_struct x = {                 \
 }
 
 #define DEFINE_RCU_FLAVOR_ALIAS(x, y) _DEFINE_RCU_FLAVOR_ALIAS(x, y)
+#ifdef __APPLE__
+#define _DEFINE_RCU_FLAVOR_ALIAS(x, y)
+#else
 #define _DEFINE_RCU_FLAVOR_ALIAS(x, y)                 \
 __attribute__((alias(#x)))                             \
 extern const struct rcu_flavor_struct y;
+#endif
 
 extern const struct rcu_flavor_struct rcu_flavor;
 
This page took 0.027176 seconds and 4 git commands to generate.