* c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.

From-SVN: r67605
This commit is contained in:
Richard Henderson 2003-06-07 15:18:13 -07:00 committed by Richard Henderson
parent aa5acc89d9
commit 2288bdbb22
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-06-07 Richard Henderson <rth@redhat.com>
* c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.
2003-06-07 Richard Henderson <rth@redhat.com>
* basic-block.h (EDGE_SIBCALL): New.

View File

@ -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. */