From e05e546d5fa363776659b27617532eaa2bd19c31 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 28 Jan 2005 12:24:46 +0000 Subject: [PATCH] Added possibility to disable protected inheritance (VMIME_NO_PROTECTED_INHERITANCE). --- vmime/mailboxList.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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