X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Furcu%2Ftls-compat.h;h=24ef1b9a42b6dccad0f4864dc574654fffc3b60e;hb=3f0dd283a89ab114ffbf5c3dd46463217c6bb2ff;hp=db22dde6758550cad1dbf329ef050c7916706ffd;hpb=109267f653502cf5ef5ada5d098167b9726daa2d;p=urcu.git 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