aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index d372e70..9b7905b 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -360,8 +360,8 @@ c_language_kind;
front end. For "ObjC features" or "not C++" use the macros. */
extern c_language_kind c_language;
-#define c_dialect_cxx() (c_language & clk_cxx)
-#define c_dialect_objc() (c_language & clk_objc)
+#define c_dialect_cxx() ((c_language & clk_cxx) != 0)
+#define c_dialect_objc() ((c_language & clk_objc) != 0)
/* Information about a statement tree. */