summaryrefslogtreecommitdiff
path: root/include/compiler.h
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-12-15 16:31:10 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-12-15 18:14:50 +0300
commit3f11ddab4194bb11d00e3c364966e7eaca9b9025 (patch)
tree9c9072dec1c6d7301d7044d98a6d1a9000e23b8a /include/compiler.h
parent82cc2fbef099ad16fde63e56013c0c3cf3bd645b (diff)
downloadnasm-3f11ddab4194bb11d00e3c364966e7eaca9b9025.tar.gz
compiler: Brace __builtin_constant_p argument
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'include/compiler.h')
-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