summaryrefslogtreecommitdiff
path: root/lib/thread-optim.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread-optim.h')
-rw-r--r--lib/thread-optim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread-optim.h b/lib/thread-optim.h
index daf887f..dc1ad86 100644
--- a/lib/thread-optim.h
+++ b/lib/thread-optim.h
@@ -52,7 +52,7 @@
#if HAVE_SYS_SINGLE_THREADED_H /* glibc >= 2.32 */
# include <sys/single_threaded.h>
-# define gl_multithreaded() !__libc_single_threaded
+# define gl_multithreaded() (!__libc_single_threaded)
#else
# define gl_multithreaded() 1
#endif