aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/serviceFactory.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/serviceFactory.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 '')
-rw-r--r--src/net/serviceFactory.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/net/serviceFactory.cpp b/src/net/serviceFactory.cpp
index 65f9aa1d..71b7efea 100644
--- a/src/net/serviceFactory.cpp
+++ b/src/net/serviceFactory.cpp
@@ -21,11 +21,16 @@
// the GNU General Public License cover the whole combination.
//
+#include "vmime/config.hpp"
+
+
+#if VMIME_HAVE_MESSAGING_FEATURES
+
+
#include "vmime/net/serviceFactory.hpp"
#include "vmime/net/service.hpp"
#include "vmime/exception.hpp"
-#include "vmime/config.hpp"
#include "src/net/builtinServices.inl"
@@ -134,3 +139,7 @@ void serviceFactory::registerService(ref <registeredService> reg)
} // net
} // vmime
+
+
+#endif // VMIME_HAVE_MESSAGING_FEATURES
+