From 3f11ddab4194bb11d00e3c364966e7eaca9b9025 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sat, 15 Dec 2018 16:31:10 +0300 Subject: [PATCH] compiler: Brace __builtin_constant_p argument Signed-off-by: Cyrill Gorcunov --- include/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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