X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=include%2Furcu%2Fflavor.h;h=93da38f7d449c42107ef65a09a6c909f6e75926f;hp=d2d19f6c80df002439bfc6f8331c82b4126bee09;hb=ce28e67a534dcf0b68ccad2218e5a2e552e6e469;hpb=447c9339d4f21fe5bba1aa77eccc9f94745e6447 diff --git a/include/urcu/flavor.h b/include/urcu/flavor.h index d2d19f6..93da38f 100644 --- a/include/urcu/flavor.h +++ b/include/urcu/flavor.h @@ -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;