aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vmime/mailboxList.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmime/mailboxList.hpp b/vmime/mailboxList.hpp
index 8936e4ad..a1e8b8f3 100644
--- a/vmime/mailboxList.hpp
+++ b/vmime/mailboxList.hpp
@@ -32,7 +32,7 @@ namespace vmime
/** A list of mailboxes (basic type).
*/
-#if (defined(__GNUC__) && (__GNUC__ >= 3) && (__GNUC_MINOR__ <= 2))
+#if (defined(__GNUC__) && (__GNUC__ >= 3) && (__GNUC_MINOR__ <= 2)) || defined(VMIME_NO_PROTECTED_INHERITANCE)
class mailboxList : public addressList // BUG with gcc <= 3.2
#else
class mailboxList : protected addressList