X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=include%2Furcu%2Fflavor.h;fp=include%2Furcu%2Fflavor.h;h=1a920896fc9474c0ef7babe1eafa7eec5babca90;hp=93da38f7d449c42107ef65a09a6c909f6e75926f;hb=a0ec6d9b6b67e37fc81c98e04008907bc500cde8;hpb=e56a221cc884059dc407a3bb997269b43f78914d diff --git a/include/urcu/flavor.h b/include/urcu/flavor.h index 93da38f..1a92089 100644 --- a/include/urcu/flavor.h +++ b/include/urcu/flavor.h @@ -78,15 +78,6 @@ const struct rcu_flavor_struct x = { \ .unregister_rculfhash_atfork = urcu_unregister_rculfhash_atfork,\ } -#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; #ifdef __cplusplus