diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 4c4fbbf88aa1b0595f3f30e0bf93284003a8bf96..e9842cec1fb5452ad95fb6873fa8ffff65deabd2 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 e9131a3b83a4774bfba436ac73ccc47ebb3c4ece..6edafe2243749e750c189d64531d271675aa0a37 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.