diff options
author | kan <kan@FreeBSD.org> | 2003-11-07 02:44:01 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-11-07 02:44:01 +0000 |
commit | a342444c67382961a80b87c516fb6b2d85a15ffc (patch) | |
tree | 6e5365a8da80f9003283db9715c2f150cef8eb01 /contrib/libstdc++/config/os/hpux/os_defines.h | |
parent | b09448931ae541a7a60fd1cf0ebac14b627fba69 (diff) | |
download | FreeBSD-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.h | 8 |
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 |