aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mailboxList.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mailboxList.hpp b/src/mailboxList.hpp
index 7c4ed40c..3cd5f038 100644
--- a/src/mailboxList.hpp
+++ b/src/mailboxList.hpp
@@ -32,7 +32,15 @@ namespace vmime
/** A list of mailboxes (basic type).
*/
+#ifdef __GNUC__
+# if (__GNUC__ >= 3) && (__GNUC_MINOR__ <= 2)
+class mailboxList : public addressList // BUG with gcc <= 3.2
+# else
class mailboxList : protected addressList
+# endif
+#else
+class mailboxList : protected addressList
+#endif
{
friend class mailboxGroup;