Commit b6ef3ef6 by John David Anglin Committed by John David Anglin

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
parent 48d1c3c5
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
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment