summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/config/os/hpux/os_defines.h
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2003-11-07 02:44:01 +0000
committerkan <kan@FreeBSD.org>2003-11-07 02:44:01 +0000
commita342444c67382961a80b87c516fb6b2d85a15ffc (patch)
tree6e5365a8da80f9003283db9715c2f150cef8eb01 /contrib/libstdc++/config/os/hpux/os_defines.h
parentb09448931ae541a7a60fd1cf0ebac14b627fba69 (diff)
downloadFreeBSD-src-a342444c67382961a80b87c516fb6b2d85a15ffc.zip
FreeBSD-src-a342444c67382961a80b87c516fb6b2d85a15ffc.tar.gz
Gcc 3.3.3 20031106 C++ support bits.
Diffstat (limited to 'contrib/libstdc++/config/os/hpux/os_defines.h')
-rw-r--r--contrib/libstdc++/config/os/hpux/os_defines.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/libstdc++/config/os/hpux/os_defines.h b/contrib/libstdc++/config/os/hpux/os_defines.h
index 27951c1..6414b41 100644
--- a/contrib/libstdc++/config/os/hpux/os_defines.h
+++ b/contrib/libstdc++/config/os/hpux/os_defines.h
@@ -97,8 +97,10 @@ typedef long int __padding_type;
#define _GLIBCPP_INST_ATOMICITY_LOCK 1
#endif
-/* Don't use pragma weak in gthread headers. */
-#ifdef __hppa__
+/* Don't use pragma weak in gthread headers. HP-UX rejects programs
+ with unsatisfied external references even if all of those references
+ are weak; gthread relies on such unsatisfied references being resolved
+ to null pointers when weak symbol support is on. */
#define _GLIBCPP_GTHREAD_USE_WEAK 0
-#endif
+
#endif
OpenPOWER on IntegriCloud