From 08cd2194cf8d22597c80a0bf8127f6d39e3b5aae Mon Sep 17 00:00:00 2001 From: rth Date: Sat, 7 Jun 2003 22:18:13 +0000 Subject: * 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 --- gcc/c-cppbuiltin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/c-cppbuiltin.c') 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. */ -- cgit v1.2.3