e6436e53e5
It works much better with the new gnutls.
16 lines
569 B
Plaintext
16 lines
569 B
Plaintext
$OpenBSD: patch-vmime_utility_smartPtrInt_hpp,v 1.3 2012/07/09 15:25:57 ajacoutot Exp $
|
|
--- vmime/utility/smartPtrInt.hpp.orig Sun Sep 6 14:10:27 2009
|
|
+++ vmime/utility/smartPtrInt.hpp Sun Aug 28 17:11:55 2011
|
|
@@ -53,7 +53,11 @@ class refCounter (private)
|
|
#if defined(_WIN32)
|
|
long m_value;
|
|
#elif defined(__GNUC__) && (defined(__GLIBCPP__) || defined(__GLIBCXX__))
|
|
+# if defined(__sparc64__)
|
|
+ mutable volatile long m_value;
|
|
+# else
|
|
mutable volatile int m_value;
|
|
+# endif
|
|
#elif defined (VMIME_HAVE_PTHREAD)
|
|
volatile long m_value;
|
|
pthread_mutex_t m_mutex;
|