dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names.
authorPhil Edwards <pme@gcc.gnu.org>
Mon, 1 Apr 2002 21:54:28 +0000 (21:54 +0000)
committerPhil Edwards <pme@gcc.gnu.org>
Mon, 1 Apr 2002 21:54:28 +0000 (21:54 +0000)
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

* dyn-string.h:  Also allow IN_GLIBCPP_V3 to redefine names.

From-SVN: r51707

include/ChangeLog
include/dyn-string.h

index f35f7ad3bb402f12722c1a5f3efc0d1eef4663a2..01e3d443392bd2436c69a1c3882b4d47bd471586 100644 (file)
@@ -1,3 +1,7 @@
+2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
+
+       * dyn-string.h:  Also allow IN_GLIBCPP_V3 to redefine names.
+
 2002-03-06  Andrew Cagney  <ac131313@redhat.com>
 
        * floatformat.h (floatformat_arm_ext): Delete declaration.
index 315f63fabc8f96864154410749fbd22cf3d164c4..2a771c7a5d11c8fd27efab0fc0cc92bd28e2c098 100644 (file)
@@ -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));