diff options
author | ray-pixar <pixar@chmail.ir> | 2015-09-08 19:35:49 +0430 |
---|---|---|
committer | ray-pixar <pixar@chmail.ir> | 2015-09-08 19:35:49 +0430 |
commit | 55b698000a6faa719567b31ac614ba23aec1c6f6 (patch) | |
tree | b0123cff8d880c3b6e0bb34929c5b766789d8a69 /include/tgbot/net | |
parent | 88b945b907eee025e33b259c95a61c7fe5d213c0 (diff) |
Fix for boost::asio::local. now you can build the library in windows
Diffstat (limited to 'include/tgbot/net')
-rw-r--r-- | include/tgbot/net/TgWebhookLocalServer.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |