* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
on hppa when there is no weak support.
From-SVN: r59092
+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
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