Fixed build issues when disabling messaging features.

This commit is contained in:
Vincent Richard 2015-01-01 13:02:39 +01:00
parent d13e1133f0
commit 3806122a35
4 changed files with 32 additions and 2 deletions

View File

@ -21,6 +21,12 @@
// the GNU General Public License cover the whole combination.
//
#include "vmime/config.hpp"
#if VMIME_HAVE_MESSAGING_FEATURES
#include "vmime/net/messageSet.hpp"
#include <iterator>
@ -386,3 +392,6 @@ const messageRange& messageSet::getRangeAt(const size_t i) const
} // net
} // vmime
#endif // VMIME_HAVE_MESSAGING_FEATURES

View File

@ -25,6 +25,12 @@
#define VMIME_NET_MESSAGESET_HPP_INCLUDED
#include "vmime/config.hpp"
#if VMIME_HAVE_MESSAGING_FEATURES
#include "vmime/net/message.hpp"
@ -351,4 +357,7 @@ private:
} // vmime
#endif // VMIME_HAVE_MESSAGING_FEATURES
#endif // VMIME_NET_MESSAGESET_HPP_INCLUDED

View File

@ -23,7 +23,9 @@
#include "vmime/config.hpp"
#if VMIME_HAVE_TLS_SUPPORT
#if VMIME_HAVE_MESSAGING_FEATURES && VMIME_HAVE_TLS_SUPPORT
#include "vmime/security/cert/defaultCertificateVerifier.hpp"
@ -172,4 +174,5 @@ void defaultCertificateVerifier::setX509TrustedCerts
} // security
} // vmime
#endif
#endif // VMIME_HAVE_MESSAGING_FEATURES && VMIME_HAVE_TLS_SUPPORT

View File

@ -25,6 +25,12 @@
#define VMIME_SECURITY_CERT_DEFAULTCERTIFICATEVERIFIER_HPP_INCLUDED
#include "vmime/config.hpp"
#if VMIME_HAVE_MESSAGING_FEATURES && VMIME_HAVE_TLS_SUPPORT
#include "vmime/security/cert/certificateVerifier.hpp"
@ -85,5 +91,8 @@ private:
} // vmime
#endif // VMIME_HAVE_MESSAGING_FEATURES && VMIME_HAVE_TLS_SUPPORT
#endif // VMIME_SECURITY_CERT_DEFAULTCERTIFICATEVERIFIER_HPP_INCLUDED