From cce1c28bcecec87f34983599441ce16f7c2cf829 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 1 Nov 2012 18:20:06 +0100 Subject: Migrated build system to CMake. Conditional file compilation. Automatic selection of platform handler. --- src/net/imap/IMAPMessagePartContentHandler.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/net/imap/IMAPMessagePartContentHandler.cpp') diff --git a/src/net/imap/IMAPMessagePartContentHandler.cpp b/src/net/imap/IMAPMessagePartContentHandler.cpp index c2cd6479..1f16c698 100644 --- a/src/net/imap/IMAPMessagePartContentHandler.cpp +++ b/src/net/imap/IMAPMessagePartContentHandler.cpp @@ -21,6 +21,12 @@ // the GNU General Public License cover the whole combination. // +#include "vmime/config.hpp" + + +#if VMIME_HAVE_MESSAGING_FEATURES && VMIME_HAVE_MESSAGING_PROTO_IMAP + + #include "vmime/net/imap/IMAPMessagePartContentHandler.hpp" #include "vmime/utility/outputStreamAdapter.hpp" @@ -186,3 +192,6 @@ bool IMAPMessagePartContentHandler::isBuffered() const } // net } // vmime + +#endif // VMIME_HAVE_MESSAGING_FEATURES && VMIME_HAVE_MESSAGING_PROTO_IMAP + -- cgit v1.2.3