diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-07 22:18:13 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-07 22:18:13 +0000 |
commit | 08cd2194cf8d22597c80a0bf8127f6d39e3b5aae (patch) | |
tree | a98d5d75030fa00a50306f5738ba21b837caeb35 /gcc/c-cppbuiltin.c | |
parent | 1eafc38c25116a1f7fc2f1a4dd030c7889ef48f5 (diff) | |
download | gcc-08cd2194cf8d22597c80a0bf8127f6d39e3b5aae.tar.gz |
* c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67605 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-cppbuiltin.c')
-rw-r--r-- | gcc/c-cppbuiltin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-cppbuiltin.c b/gcc/c-cppbuiltin.c index c97ced3caef..3679f869d04 100644 --- a/gcc/c-cppbuiltin.c +++ b/gcc/c-cppbuiltin.c @@ -307,11 +307,11 @@ c_cpp_builtins (pfile) cpp_define (pfile, "__GXX_WEAK__=1"); else cpp_define (pfile, "__GXX_WEAK__=0"); - if (flag_exceptions) - cpp_define (pfile, "__EXCEPTIONS"); if (warn_deprecated) cpp_define (pfile, "__DEPRECATED"); } + if (flag_exceptions) + cpp_define (pfile, "__EXCEPTIONS"); /* represents the C++ ABI version, always defined so it can be used while preprocessing C and assembler. */ |