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
This commit is contained in:
Franz Sirl 2002-08-02 00:15:45 +00:00 committed by Franz Sirl
parent de273d3f1c
commit a03e67c3a3
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
2002-08-01 Richard Henderson <rth@redhat.com>
* toplev.c (parse_options_and_default_flags): Don't set

View file

@ -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__");