aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2007-07-09 21:53:00 +0000
committerVincent Richard <[email protected]>2007-07-09 21:53:00 +0000
commitcb5e91a24ca8c6774261501c0ce5eb275c2c697c (patch)
tree95b9c12e0d4e604707a15f59df1a6e875ad90506
parentFixed wrong block size (thanks to Emmanuel Cabestan). (diff)
downloadvmime-cb5e91a24ca8c6774261501c0ce5eb275c2c697c.tar.gz
vmime-cb5e91a24ca8c6774261501c0ce5eb275c2c697c.zip
New GCC definition.
-rw-r--r--src/utility/smartPtrInt.cpp2
-rw-r--r--vmime/utility/smartPtrInt.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utility/smartPtrInt.cpp b/src/utility/smartPtrInt.cpp
index a3036310..88c2b756 100644
--- a/src/utility/smartPtrInt.cpp
+++ b/src/utility/smartPtrInt.cpp
@@ -167,7 +167,7 @@ refCounter::operator long() const
}
-#elif defined(__GNUC__) && defined(__GLIBCPP__)
+#elif defined(__GNUC__) && (defined(__GLIBCPP__) || defined(__GLIBCXX__))
refCounter::refCounter(const long initialValue)
diff --git a/vmime/utility/smartPtrInt.hpp b/vmime/utility/smartPtrInt.hpp
index b47ce504..a9a5d3bd 100644
--- a/vmime/utility/smartPtrInt.hpp
+++ b/vmime/utility/smartPtrInt.hpp
@@ -52,7 +52,7 @@ private:
#if defined(_WIN32)
long m_value;
-#elif defined(__GNUC__) && defined(__GLIBCPP__)
+#elif defined(__GNUC__) && (defined(__GLIBCPP__) || defined(__GLIBCXX__))
mutable volatile int m_value;
#elif defined (VMIME_HAVE_PTHREAD)
volatile long m_value;