diff options
author | Richard Henderson <rth@redhat.com> | 2003-06-07 15:18:13 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-06-07 15:18:13 -0700 |
commit | 2288bdbb22d1fed3a4b39f60884828c075c34efa (patch) | |
tree | a98d5d75030fa00a50306f5738ba21b837caeb35 /gcc/c-cppbuiltin.c | |
parent | aa5acc89d9c35e8707308641911382cb70eee511 (diff) | |
download | gcc-2288bdbb22d1fed3a4b39f60884828c075c34efa.zip gcc-2288bdbb22d1fed3a4b39f60884828c075c34efa.tar.gz gcc-2288bdbb22d1fed3a4b39f60884828c075c34efa.tar.bz2 |
* c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.
From-SVN: r67605
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 c97ced3..3679f86 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. */ |