From 4af3e30942f82d6c4b408ecac178e0beb50a4943 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 21 Apr 2020 09:59:00 -0400 Subject: [PATCH 1/1] Cleanup: tls-compat.h: add parentheses around expression (coding style) Signed-off-by: Mathieu Desnoyers --- include/urcu/tls-compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1