aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2016-01-23 22:24:59 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2016-01-23 22:24:59 +0000
commit981c93ebcd53ca8426c97d70940edafd8253419f (patch)
treeb4493e5507f7a0e22090c31d622242461d0b8467 /libstdc++-v3/config
parentf88e528a03969c56f00d253408e8aff945ce37d9 (diff)
PR libstdc++/69446
* config/os/hpux/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232769 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r--libstdc++-v3/config/os/hpux/os_defines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/config/os/hpux/os_defines.h b/libstdc++-v3/config/os/hpux/os_defines.h
index b0fcb725ec7..e0347258ec5 100644
--- a/libstdc++-v3/config/os/hpux/os_defines.h
+++ b/libstdc++-v3/config/os/hpux/os_defines.h
@@ -99,6 +99,9 @@ typedef long int __padding_type;
to null pointers when weak symbol support is on. */
#define _GLIBCXX_GTHREAD_USE_WEAK 0
+// No support for referencing weak symbols without a definition.
+#define _GLIBCXX_USE_WEAK_REF 0
+
// The strtold function is obsolete and not C99 conformant on PA HP-UX.
// It returns plus or minus _LDBL_MAX instead of plus or minus HUGE_VALL
// if the correct value would cause overflow. It doesn't handle "inf",