aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;