aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-12-13 12:16:13 +0000
committerVincent Richard <[email protected]>2004-12-13 12:16:13 +0000
commit4a6741ab2bb8f183abe8b28f5f68aa42d87bbdd3 (patch)
tree28637ae7b42c2e6cfd5e1eef2f00008d58b200d2
parentWorking on 'maildir' implementation. (diff)
downloadvmime-4a6741ab2bb8f183abe8b28f5f68aa42d87bbdd3.tar.gz
vmime-4a6741ab2bb8f183abe8b28f5f68aa42d87bbdd3.zip
Fixed bug with g++ <= 3.2.
-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;