Mercurial > irccd
diff tests/src/libcommon/io/main.cpp @ 701:2007a37d7e1a
CMake: prefix options with IRCCD_, #closes 800 @2h
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 16 May 2018 12:25:51 +0200 |
parents | 91bc29e87399 |
children | e8c4ba5ed1c6 |
line wrap: on
line diff
--- a/tests/src/libcommon/io/main.cpp Wed May 09 22:34:47 2018 +0200 +++ b/tests/src/libcommon/io/main.cpp Wed May 16 12:25:51 2018 +0200 @@ -27,16 +27,16 @@ #include <irccd/socket_connector.hpp> #include <irccd/socket_stream.hpp> -#if defined(HAVE_SSL) +#if defined(IRCCD_HAVE_SSL) # include <irccd/tls_acceptor.hpp> # include <irccd/tls_connector.hpp> # include <irccd/tls_stream.hpp> -#endif // !HAVE_SSL +#endif // !IRCCD_HAVE_SSL using boost::asio::io_service; using boost::asio::ip::tcp; -#if defined(HAVE_SSL) +#if defined(IRCCD_HAVE_SSL) using boost::asio::ssl::context; #endif @@ -110,7 +110,7 @@ } }; -#if defined(HAVE_SSL) +#if defined(IRCCD_HAVE_SSL) class ssl_io_test : public io_test { private: @@ -144,7 +144,7 @@ } }; -#endif // !HAVE_SSL +#endif // !IRCCD_HAVE_SSL #if !BOOST_OS_WINDOWS @@ -178,7 +178,7 @@ */ using list = boost::mpl::list< ip_io_test -#if defined(HAVE_SSL) +#if defined(IRCCD_HAVE_SSL) , ssl_io_test #endif #if !BOOST_OS_WINDOWS