diff options
author | Vincent Richard <[email protected]> | 2012-11-01 17:20:06 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2012-11-01 17:20:06 +0000 |
commit | cce1c28bcecec87f34983599441ce16f7c2cf829 (patch) | |
tree | 0d94e042fce797cfe0a0cfbb11484de3fc969add /src/net/tls/TLSSocket.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/net/tls/TLSSocket.cpp')
-rw-r--r-- | src/net/tls/TLSSocket.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/tls/TLSSocket.cpp b/src/net/tls/TLSSocket.cpp index 3cccc1e9..6fa8d02d 100644 --- a/src/net/tls/TLSSocket.cpp +++ b/src/net/tls/TLSSocket.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_TLS_SUPPORT && VMIME_TLS_SUPPORT_LIB_IS_GNUTLS + + #include <gnutls/gnutls.h> #include <gnutls/x509.h> @@ -406,3 +412,6 @@ void TLSSocket::internalThrow() } // net } // vmime + +#endif // VMIME_HAVE_MESSAGING_FEATURES && VMIME_HAVE_TLS_SUPPORT && VMIME_TLS_SUPPORT_LIB_IS_GNUTLS + |