summaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-10 18:01:15 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-10 18:01:15 +0000
commit90b8bebdf8610b6d05181e3ad053268d0fa14b68 (patch)
tree0e4aed5fcd7fb30361333e32d6325a4658355b59 /gcc/c-common.h
parent766aacfc909b3558549074ab9d3e1c5178ffa265 (diff)
downloadgcc-90b8bebdf8610b6d05181e3ad053268d0fa14b68.tar.gz
* c-common.h (c_dialect_cxx, c_dialect_objc): Boolify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151601 138bc75d-0d04-0410-961f-82ee72b054a4
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 d372e70631e..9b7905b5a30 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. */