From 55b698000a6faa719567b31ac614ba23aec1c6f6 Mon Sep 17 00:00:00 2001 From: ray-pixar Date: Tue, 8 Sep 2015 19:35:49 +0430 Subject: Fix for boost::asio::local. now you can build the library in windows --- include/tgbot/net/TgWebhookLocalServer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/tgbot/net') diff --git a/include/tgbot/net/TgWebhookLocalServer.h b/include/tgbot/net/TgWebhookLocalServer.h index 6632485..770c66c 100644 --- a/include/tgbot/net/TgWebhookLocalServer.h +++ b/include/tgbot/net/TgWebhookLocalServer.h @@ -23,6 +23,8 @@ #ifndef TGBOT_TGWEBHOOKTCPSERVER_H #define TGBOT_TGWEBHOOKTCPSERVER_H +# ifdef BOOST_ASIO_HAS_LOCAL_SOCKETS + #include "tgbot/net/TgWebhookServer.h" namespace TgBot { @@ -46,5 +48,5 @@ public: }; } - +# endif #endif //TGBOT_TGWEBHOOKTCPSERVER_H -- cgit v1.2.3