aboutsummaryrefslogtreecommitdiff
path: root/include/dyn-string.h
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 /include/dyn-string.h
parentd2b645005b08c5a9ac48b4e1f5266a25c7716ed4 (diff)
downloadfsf-binutils-gdb-0c4460bb3cd58e4f6d4d1aaea52afd62eabda37d.zip
fsf-binutils-gdb-0c4460bb3cd58e4f6d4d1aaea52afd62eabda37d.tar.gz
fsf-binutils-gdb-0c4460bb3cd58e4f6d4d1aaea52afd62eabda37d.tar.bz2
merge from gcc
Diffstat (limited to 'include/dyn-string.h')
-rw-r--r--include/dyn-string.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/dyn-string.h b/include/dyn-string.h
index 315f63f..2a771c7 100644
--- a/include/dyn-string.h
+++ b/include/dyn-string.h
@@ -1,5 +1,5 @@
/* An abstract string datatype.
- Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
Contributed by Mark Mitchell (mark@markmitchell.com).
This file is part of GCC.
@@ -45,7 +45,7 @@ typedef struct dyn_string
names in user programs, the functions that are used in the
demangler are given implementation-reserved names. */
-#ifdef IN_LIBGCC2
+#if defined(IN_LIBGCC2) || defined(IN_GLIBCPP_V3)
#define dyn_string_init __cxa_dyn_string_init
#define dyn_string_new __cxa_dyn_string_new
@@ -66,7 +66,7 @@ typedef struct dyn_string
#define dyn_string_substring __cxa_dyn_string_substring
#define dyn_string_eq __cxa_dyn_string_eq
-#endif /* IN_LIBGCC2 */
+#endif /* IN_LIBGCC2 || IN_GLIBCPP_V3 */
extern int dyn_string_init PARAMS ((struct dyn_string *, int));