diff options
author | Phil Edwards <pme@gcc.gnu.org> | 2002-04-01 21:55:12 +0000 |
---|---|---|
committer | Phil Edwards <pme@gcc.gnu.org> | 2002-04-01 21:55:12 +0000 |
commit | bd7e6f2d207b371f0699d092f0e5a3efd31eb5e0 (patch) | |
tree | 109b3bc7a1238e3c14897e24e922cb7fadb46de0 /libiberty/dyn-string.c | |
parent | 7bf421c16301f02682bb73fe7d726d2572da2042 (diff) | |
download | gcc-bd7e6f2d207b371f0699d092f0e5a3efd31eb5e0.zip gcc-bd7e6f2d207b371f0699d092f0e5a3efd31eb5e0.tar.gz gcc-bd7e6f2d207b371f0699d092f0e5a3efd31eb5e0.tar.bz2 |
cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
2002-04-01 Phil Edwards <pme@gcc.gnu.org>
* cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
(is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
not compile if IN_GLIBCPP_V3 defined.
* dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
From-SVN: r51708
Diffstat (limited to 'libiberty/dyn-string.c')
-rw-r--r-- | libiberty/dyn-string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/dyn-string.c b/libiberty/dyn-string.c index c41d7cca..1da76c2 100644 --- a/libiberty/dyn-string.c +++ b/libiberty/dyn-string.c @@ -50,7 +50,7 @@ Boston, MA 02111-1307, USA. */ abort if an allocation fails. Instead, percolate an error code up through the call chain. */ -#ifdef IN_LIBGCC2 +#if defined(IN_LIBGCC2) || defined(IN_GLIBCPP_V3) #define RETURN_ON_ALLOCATION_FAILURE #endif |