aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/sendmail/sendmailTransport.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2012-11-01 17:20:06 +0000
committerVincent Richard <[email protected]>2012-11-01 17:20:06 +0000
commitcce1c28bcecec87f34983599441ce16f7c2cf829 (patch)
tree0d94e042fce797cfe0a0cfbb11484de3fc969add /src/net/sendmail/sendmailTransport.cpp
parentFixed typo in doc. (diff)
downloadvmime-cce1c28bcecec87f34983599441ce16f7c2cf829.tar.gz
vmime-cce1c28bcecec87f34983599441ce16f7c2cf829.zip
Migrated build system to CMake. Conditional file compilation. Automatic selection of platform handler.
Diffstat (limited to 'src/net/sendmail/sendmailTransport.cpp')
-rw-r--r--src/net/sendmail/sendmailTransport.cpp12
1 files changed, 8 insertions, 4 deletions
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
+