aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/config/os/hpux/os_defines.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 4c4fbbf..e9842ce 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-05 Dave Korn <dave.korn.cygwin@gmail.com>
+
+ * config/os/hpux/os_defines.h (_GLIBCXX_PSEUDO_VISIBILITY): Provide
+ empty definition.
+
2009-12-03 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/42261
diff --git a/libstdc++-v3/config/os/hpux/os_defines.h b/libstdc++-v3/config/os/hpux/os_defines.h
index e9131a3..6edafe2 100644
--- a/libstdc++-v3/config/os/hpux/os_defines.h
+++ b/libstdc++-v3/config/os/hpux/os_defines.h
@@ -36,6 +36,11 @@
// Use macro form of ctype functions to ensure __SB_masks is defined.
#define _SB_CTYPE_MACROS 1
+// This would be defaulted in the main c++config header if we didn't
+// define it here, but it has to be defined before we can use the
+// namespace macros, so we have to define it to nothing here instead.
+#define _GLIBCXX_PSEUDO_VISIBILITY(V)
+
/* HP-UX, for reasons unknown choose to use a different name for
the string to [unsigned] long long conversion routines.