From d3def015732a7458e46e520a4ec351c2a384b601 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 11 Oct 2005 20:54:18 +0000 Subject: [PATCH] Sendmail support on POSIX platforms only. --- src/net/sendmail/sendmailServiceInfos.cpp | 6 ++++++ vmime/net/sendmail/sendmailServiceInfos.hpp | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/net/sendmail/sendmailServiceInfos.cpp b/src/net/sendmail/sendmailServiceInfos.cpp index f0f2fa59..68010765 100644 --- a/src/net/sendmail/sendmailServiceInfos.cpp +++ b/src/net/sendmail/sendmailServiceInfos.cpp @@ -20,6 +20,9 @@ #include "vmime/net/sendmail/sendmailServiceInfos.hpp" +#if VMIME_BUILTIN_PLATFORM_POSIX + + namespace vmime { namespace net { namespace sendmail { @@ -63,3 +66,6 @@ const std::vector sendmailServiceInfos::getAvailablePro } // net } // vmime + +#endif // VMIME_BUILTIN_PLATFORM_POSIX + diff --git a/vmime/net/sendmail/sendmailServiceInfos.hpp b/vmime/net/sendmail/sendmailServiceInfos.hpp index 7da4b776..49c2a3e1 100644 --- a/vmime/net/sendmail/sendmailServiceInfos.hpp +++ b/vmime/net/sendmail/sendmailServiceInfos.hpp @@ -29,6 +29,9 @@ #include "vmime/net/serviceInfos.hpp" +#if VMIME_BUILTIN_PLATFORM_POSIX + + namespace vmime { namespace net { namespace sendmail { @@ -60,5 +63,8 @@ public: } // vmime +#endif // VMIME_BUILTIN_PLATFORM_POSIX + + #endif // VMIME_NET_SENDMAIL_SENDMAILSERVICEINFOS_HPP_INCLUDED