From abb9c08828561be1c4463c5eaf8be62d0065eec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Tue, 21 Mar 2017 15:12:02 +0100 Subject: Add a missing ifndef BOTAN --- louloulibs/network/tcp_socket_handler.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/louloulibs/network/tcp_socket_handler.hpp b/louloulibs/network/tcp_socket_handler.hpp index 4c1df64..c850f43 100644 --- a/louloulibs/network/tcp_socket_handler.hpp +++ b/louloulibs/network/tcp_socket_handler.hpp @@ -47,8 +47,10 @@ public: * (select/poll/epoll etc) */ class TCPSocketHandler: public SocketHandler -#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,11,32) +#ifdef BOTAN_FOUND +# if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,11,32) ,public Botan::TLS::Callbacks +# endif #endif { protected: -- cgit v1.2.3