aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-01-28 12:24:46 +0000
committerVincent Richard <[email protected]>2005-01-28 12:24:46 +0000
commite05e546d5fa363776659b27617532eaa2bd19c31 (patch)
tree639e40d69a9dbb47efd13715c0bf33e2a4545f61
parentFixed missing 'vmime/config.hpp' include. (diff)
downloadvmime-e05e546d5fa363776659b27617532eaa2bd19c31.tar.gz
vmime-e05e546d5fa363776659b27617532eaa2bd19c31.zip
Added possibility to disable protected inheritance (VMIME_NO_PROTECTED_INHERITANCE).
Diffstat (limited to '')
-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