aboutsummaryrefslogtreecommitdiff
path: root/libiberty/dyn-string.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-04-01 22:01:20 +0000
committerDJ Delorie <dj@redhat.com>2002-04-01 22:01:20 +0000
commit0c4460bb3cd58e4f6d4d1aaea52afd62eabda37d (patch)
tree487af46ba4bee21c88cf84a98359e7024be3d59f /libiberty/dyn-string.c
parentd2b645005b08c5a9ac48b4e1f5266a25c7716ed4 (diff)
downloadgdb-0c4460bb3cd58e4f6d4d1aaea52afd62eabda37d.zip
gdb-0c4460bb3cd58e4f6d4d1aaea52afd62eabda37d.tar.gz
gdb-0c4460bb3cd58e4f6d4d1aaea52afd62eabda37d.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/dyn-string.c')
-rw-r--r--libiberty/dyn-string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/dyn-string.c b/libiberty/dyn-string.c
index c41d7cc..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