From 2e6623d8fadb64f50348bc88bd45e2a444a6a7d1 Mon Sep 17 00:00:00 2001 From: Dave Korn <dave.korn.cygwin@gmail.com> Date: Sat, 5 Dec 2009 06:13:44 +0000 Subject: [PATCH] os_defines.h (_GLIBCXX_PSEUDO_VISIBILITY): Provide empty definition. * config/os/hpux/os_defines.h (_GLIBCXX_PSEUDO_VISIBILITY): Provide empty definition. From-SVN: r155008 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/config/os/hpux/os_defines.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4c4fbbf88aa1..e9842cec1fb5 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 e9131a3b83a4..6edafe224374 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. -- GitLab