diff options
Diffstat (limited to 'libstdc++-v3/config/os')
| -rw-r--r-- | libstdc++-v3/config/os/hpux/os_defines.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libstdc++-v3/config/os/hpux/os_defines.h b/libstdc++-v3/config/os/hpux/os_defines.h index ba0445a4cb6..b83516dd260 100644 --- a/libstdc++-v3/config/os/hpux/os_defines.h +++ b/libstdc++-v3/config/os/hpux/os_defines.h @@ -97,8 +97,9 @@ typedef long int __padding_type; #define _GLIBCXX_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 _GLIBCXX_GTHREAD_USE_WEAK 0 #endif -#endif |

