aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-10-11 20:54:18 +0000
committerVincent Richard <[email protected]>2005-10-11 20:54:18 +0000
commitd3def015732a7458e46e520a4ec351c2a384b601 (patch)
tree0f8403d4bd370229fe2b0bcae117367f66531823
parentFixed missing ref<>. (diff)
downloadvmime-d3def015732a7458e46e520a4ec351c2a384b601.tar.gz
vmime-d3def015732a7458e46e520a4ec351c2a384b601.zip
Sendmail support on POSIX platforms only.
-rw-r--r--src/net/sendmail/sendmailServiceInfos.cpp6
-rw-r--r--vmime/net/sendmail/sendmailServiceInfos.hpp6
2 files changed, 12 insertions, 0 deletions
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 <serviceInfos::property> 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