* c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.
From-SVN: r67605
This commit is contained in:
parent
aa5acc89d9
commit
2288bdbb22
2 changed files with 6 additions and 2 deletions
|
@ -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>
|
2003-06-07 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* basic-block.h (EDGE_SIBCALL): New.
|
* basic-block.h (EDGE_SIBCALL): New.
|
||||||
|
|
|
@ -307,11 +307,11 @@ c_cpp_builtins (pfile)
|
||||||
cpp_define (pfile, "__GXX_WEAK__=1");
|
cpp_define (pfile, "__GXX_WEAK__=1");
|
||||||
else
|
else
|
||||||
cpp_define (pfile, "__GXX_WEAK__=0");
|
cpp_define (pfile, "__GXX_WEAK__=0");
|
||||||
if (flag_exceptions)
|
|
||||||
cpp_define (pfile, "__EXCEPTIONS");
|
|
||||||
if (warn_deprecated)
|
if (warn_deprecated)
|
||||||
cpp_define (pfile, "__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
|
/* represents the C++ ABI version, always defined so it can be used while
|
||||||
preprocessing C and assembler. */
|
preprocessing C and assembler. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue