X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Ftls-compat.h;fp=urcu%2Ftls-compat.h;h=9686ecaab139343547151e0f95697324c0442a55;hp=d7c7537042d9aca0f99abeb9c0ca7cc27b0fb934;hb=3db1417f5d2f17fdb62f328650c888ae3097c4c5;hpb=9128481d8b45419448b45e7e0f336a63f74d8364 diff --git a/urcu/tls-compat.h b/urcu/tls-compat.h index d7c7537..9686eca 100644 --- a/urcu/tls-compat.h +++ b/urcu/tls-compat.h @@ -35,12 +35,12 @@ extern "C" { #ifdef CONFIG_RCU_TLS /* Based on ax_tls.m4 */ # define DECLARE_URCU_TLS(type, name) \ - CONFIG_RCU_TLS type __tls_ ## name + CONFIG_RCU_TLS type name # define DEFINE_URCU_TLS(type, name) \ - CONFIG_RCU_TLS type __tls_ ## name + CONFIG_RCU_TLS type name -# define URCU_TLS(name) (__tls_ ## name) +# define URCU_TLS(name) (name) #else /* #ifndef CONFIG_RCU_TLS */