X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=include%2Furcu%2Ftls-compat.h;h=24ef1b9a42b6dccad0f4864dc574654fffc3b60e;hp=db22dde6758550cad1dbf329ef050c7916706ffd;hb=4af3e30942f82d6c4b408ecac178e0beb50a4943;hpb=109267f653502cf5ef5ada5d098167b9726daa2d diff --git a/include/urcu/tls-compat.h b/include/urcu/tls-compat.h index db22dde..24ef1b9 100644 --- a/include/urcu/tls-compat.h +++ b/include/urcu/tls-compat.h @@ -34,7 +34,7 @@ extern "C" { #ifdef CONFIG_RCU_TLS -#if defined (__cplusplus) && __cplusplus >= 201103L +#if defined (__cplusplus) && (__cplusplus >= 201103L) # define URCU_TLS_STORAGE_CLASS thread_local #elif defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) # define URCU_TLS_STORAGE_CLASS _Thread_local