aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2009-09-10 11:01:15 -0700
committerRichard Henderson <rth@gcc.gnu.org>2009-09-10 11:01:15 -0700
commit15a15e8dc42b58e92b64924e8c15adceaff9a5ae (patch)
tree0e4aed5fcd7fb30361333e32d6325a4658355b59 /gcc/c-common.h
parentf90f4827aa0ddf3d1a70321ed08e2d2598faacc2 (diff)
downloadgcc-15a15e8dc42b58e92b64924e8c15adceaff9a5ae.zip
gcc-15a15e8dc42b58e92b64924e8c15adceaff9a5ae.tar.gz
gcc-15a15e8dc42b58e92b64924e8c15adceaff9a5ae.tar.bz2
* c-common.h (c_dialect_cxx, c_dialect_objc): Boolify.
From-SVN: r151601
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. */