diff options
author | sirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-02 00:15:45 +0000 |
---|---|---|
committer | sirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-02 00:15:45 +0000 |
commit | c726878dc2805d59058b147372cada06fb9343ff (patch) | |
tree | 409b26197fe3b98270b60d06c8ccbe1258b48ef0 /gcc/c-common.c | |
parent | 32c0701817718f17639af43229bdf36c46ca2d80 (diff) | |
download | gcc-c726878dc2805d59058b147372cada06fb9343ff.tar.gz |
2002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55959 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 4d66589bb4c..415127317f0 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -4732,9 +4732,12 @@ cb_register_builtins (pfile) cpp_define (pfile, "__EXCEPTIONS"); if (warn_deprecated) cpp_define (pfile, "__DEPRECATED"); - cpp_define (pfile, "__GXX_ABI_VERSION=102"); } + /* represents the C++ ABI version, always defined so it can be used while + preprocessing C and assembler. */ + cpp_define (pfile, "__GXX_ABI_VERSION=102"); + /* libgcc needs to know this. */ if (USING_SJLJ_EXCEPTIONS) cpp_define (pfile, "__USING_SJLJ_EXCEPTIONS__"); |