Added possibility to disable protected inheritance (VMIME_NO_PROTECTED_INHERITANCE).

This commit is contained in:
Vincent Richard 2005-01-28 12:24:46 +00:00
parent 22ebb7e8f5
commit e05e546d5f

View File

@ -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