diff options
| author | Vincent Richard <[email protected]> | 2012-11-01 18:20:06 +0100 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2012-11-01 18:20:06 +0100 |
| commit | cce1c28bcecec87f34983599441ce16f7c2cf829 (patch) | |
| tree | 0d94e042fce797cfe0a0cfbb11484de3fc969add /src/platforms/posix/posixSocket.cpp | |
| parent | Fixed typo in doc. (diff) | |
| download | vmime-cce1c28bcecec87f34983599441ce16f7c2cf829.tar.gz vmime-cce1c28bcecec87f34983599441ce16f7c2cf829.zip | |
Migrated build system to CMake. Conditional file compilation. Automatic selection of platform handler.
Diffstat (limited to 'src/platforms/posix/posixSocket.cpp')
| -rw-r--r-- | src/platforms/posix/posixSocket.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/platforms/posix/posixSocket.cpp b/src/platforms/posix/posixSocket.cpp index f280dadc..6fcbd118 100644 --- a/src/platforms/posix/posixSocket.cpp +++ b/src/platforms/posix/posixSocket.cpp @@ -21,6 +21,12 @@ // the GNU General Public License cover the whole combination. // +#include "vmime/config.hpp" + + +#if VMIME_PLATFORM_IS_POSIX && VMIME_HAVE_MESSAGING_FEATURES + + #include "vmime/platforms/posix/posixSocket.hpp" #include "vmime/platforms/posix/posixHandler.hpp" @@ -37,9 +43,6 @@ #include "vmime/exception.hpp" -#if VMIME_HAVE_MESSAGING_FEATURES - - namespace vmime { namespace platforms { namespace posix { @@ -493,4 +496,4 @@ ref <vmime::net::socket> posixSocketFactory::create(ref <vmime::net::timeoutHand } // vmime -#endif // VMIME_HAVE_MESSAGING_FEATURES +#endif // VMIME_PLATFORM_IS_POSIX && VMIME_HAVE_MESSAGING_FEATURES |
