aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorFranz Sirl <Franz.Sirl-kernel@lauterbach.com>2002-08-02 00:15:45 +0000
committerFranz Sirl <sirl@gcc.gnu.org>2002-08-02 00:15:45 +0000
commita03e67c3a3cb59fa73878624ad9565e4fed4c6ca (patch)
tree409b26197fe3b98270b60d06c8ccbe1258b48ef0 /gcc/c-common.c
parentde273d3f1c1843fc93aeed17015062ddccdc6bc7 (diff)
downloadgcc-a03e67c3a3cb59fa73878624ad9565e4fed4c6ca.zip
gcc-a03e67c3a3cb59fa73878624ad9565e4fed4c6ca.tar.gz
gcc-a03e67c3a3cb59fa73878624ad9565e4fed4c6ca.tar.bz2
c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
2002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION. From-SVN: r55959
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 4d66589..4151273 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__");