os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define on hppa when there is no weak support.

* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
	on hppa when there is no weak support.

From-SVN: r59092
This commit is contained in:
John David Anglin 2002-11-13 22:36:39 +00:00 committed by John David Anglin
parent 48d1c3c568
commit b6ef3ef68f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
on hppa when there is no weak support.
2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8230

View File

@ -84,8 +84,9 @@ namespace std
typedef long int __padding_type;
#endif
/* We need explicit instantiation of the atomicity lock on 32-bit HPUX. */
#ifndef __LP64__
/* We need explicit instantiation of the atomicity lock on HPPA if
there is no weak support. */
#if !defined(_GLIBCPP_SUPPORTS_WEAK) && defined (__hppa__)
#define _GLIBCPP_INST_ATOMICITY_LOCK 1
#endif
#endif