summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-13 22:36:39 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-13 22:36:39 +0000
commit798fd7881731b48e30aab5b0944bbf748ca10e9e (patch)
treeb35da42cfdccc21ec59f69139639c22525bc960f /libstdc++-v3
parent0a74e2ae4ae4d44fc7d972ba30190e54718e0b97 (diff)
downloadgcc-798fd7881731b48e30aab5b0944bbf748ca10e9e.tar.gz
* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
on hppa when there is no weak support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59092 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/config/os/hpux/os_defines.h5
2 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index faa6414bd70..250c7f90cc1 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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
diff --git a/libstdc++-v3/config/os/hpux/os_defines.h b/libstdc++-v3/config/os/hpux/os_defines.h
index aae9998c552..9dd4fb41af6 100644
--- a/libstdc++-v3/config/os/hpux/os_defines.h
+++ b/libstdc++-v3/config/os/hpux/os_defines.h
@@ -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