Skip to content

Commit

Permalink
Cleanup: tls-compat.h: add parentheses around expression (coding style)
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • Loading branch information
compudj committed Apr 21, 2020
1 parent 109267f commit 4af3e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/urcu/tls-compat.h
Expand Up @@ -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
Expand Down

0 comments on commit 4af3e30

Please sign in to comment.