From cb5e91a24ca8c6774261501c0ce5eb275c2c697c Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Mon, 9 Jul 2007 21:53:00 +0000 Subject: [PATCH] New GCC definition. --- src/utility/smartPtrInt.cpp | 2 +- vmime/utility/smartPtrInt.hpp | 2 +- 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;