diff options
Diffstat (limited to '')
-rw-r--r-- | src/net/sendmail/sendmailServiceInfos.cpp | 9 | ||||
-rw-r--r-- | src/net/sendmail/sendmailTransport.cpp | 12 |
2 files changed, 14 insertions, 7 deletions
diff --git a/src/net/sendmail/sendmailServiceInfos.cpp b/src/net/sendmail/sendmailServiceInfos.cpp index fb5fb543..102dfe98 100644 --- a/src/net/sendmail/sendmailServiceInfos.cpp +++ b/src/net/sendmail/sendmailServiceInfos.cpp @@ -21,10 +21,13 @@ // the GNU General Public License cover the whole combination. // -#include "vmime/net/sendmail/sendmailServiceInfos.hpp" +#include "vmime/config.hpp" + +#if VMIME_HAVE_MESSAGING_FEATURES && VMIME_HAVE_MESSAGING_PROTO_SENDMAIL -#if VMIME_BUILTIN_PLATFORM_POSIX + +#include "vmime/net/sendmail/sendmailServiceInfos.hpp" namespace vmime { @@ -71,5 +74,5 @@ const std::vector <serviceInfos::property> sendmailServiceInfos::getAvailablePro } // vmime -#endif // VMIME_BUILTIN_PLATFORM_POSIX +#endif // VMIME_HAVE_MESSAGING_FEATURES && VMIME_HAVE_MESSAGING_PROTO_SENDMAIL diff --git a/src/net/sendmail/sendmailTransport.cpp b/src/net/sendmail/sendmailTransport.cpp index e7762ccc..e52e16d5 100644 --- a/src/net/sendmail/sendmailTransport.cpp +++ b/src/net/sendmail/sendmailTransport.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_SENDMAIL + + #include "vmime/net/sendmail/sendmailTransport.hpp" #include "vmime/exception.hpp" @@ -48,9 +54,6 @@ dynamic_cast <const sendmailServiceInfos&>(getInfos()).getProperties().prop)) -#if VMIME_BUILTIN_PLATFORM_POSIX - - namespace vmime { namespace net { namespace sendmail { @@ -219,4 +222,5 @@ const serviceInfos& sendmailTransport::getInfos() const } // vmime -#endif // VMIME_BUILTIN_PLATFORM_POSIX +#endif // VMIME_HAVE_MESSAGING_FEATURES && VMIME_HAVE_MESSAGING_PROTO_SENDMAIL + |