aboutsummaryrefslogtreecommitdiff
path: root/libiberty/dyn-string.c
diff options
context:
space:
mode:
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