* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Nov 2002 22:36:39 +0000 (22:36 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Nov 2002 22:36:39 +0000 (22:36 +0000)
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

libstdc++-v3/ChangeLog
libstdc++-v3/config/os/hpux/os_defines.h

index faa6414..250c7f9 100644 (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
index aae9998..9dd4fb4 100644 (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