Cleanup: tls-compat.h: add parentheses around expression (coding style)
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 21 Apr 2020 13:59:00 +0000 (09:59 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 21 Apr 2020 13:59:44 +0000 (09:59 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/urcu/tls-compat.h

index db22dde6758550cad1dbf329ef050c7916706ffd..24ef1b9a42b6dccad0f4864dc574654fffc3b60e 100644 (file)
@@ -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
This page took 0.025159 seconds and 4 git commands to generate.