From: Mathieu Desnoyers Date: Tue, 21 Apr 2020 13:59:00 +0000 (-0400) Subject: Cleanup: tls-compat.h: add parentheses around expression (coding style) X-Git-Tag: v0.13.0~58 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4af3e30942f82d6c4b408ecac178e0beb50a4943;p=userspace-rcu.git Cleanup: tls-compat.h: add parentheses around expression (coding style) Signed-off-by: Mathieu Desnoyers --- 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