summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/compiler.h b/include/compiler.h
index f0258a8b..aab93566 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -353,7 +353,7 @@ size_t strnlen(const char *s, size_t maxlen);
/* Determine probabilistically if something is a compile-time constant */
#ifdef HAVE___BUILTIN_CONSTANT_P
-# define is_constant(x) __builtin_constant_p(x)
+# define is_constant(x) __builtin_constant_p((x))
#else
# define is_constant(x) false
#endif