summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-03-21 15:12:02 +0100
committerlouiz’ <louiz@louiz.org>2017-03-21 15:12:02 +0100
commitabb9c08828561be1c4463c5eaf8be62d0065eec7 (patch)
tree6d5150373c9c5ee26d612ecddb74d814493e777e
parent8ce6759eae618cb1109bd5dea70c3eb17f733445 (diff)
downloadbiboumi-abb9c08828561be1c4463c5eaf8be62d0065eec7.tar.gz
biboumi-abb9c08828561be1c4463c5eaf8be62d0065eec7.tar.bz2
biboumi-abb9c08828561be1c4463c5eaf8be62d0065eec7.tar.xz
biboumi-abb9c08828561be1c4463c5eaf8be62d0065eec7.zip
Add a missing ifndef BOTAN
-rw-r--r--louloulibs/network/tcp_socket_handler.hpp4
1 files changed, 3 insertions, 1 deletions
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: