diff options
author | Oleg Morozenkov <omorozenkov@gmail.com> | 2015-09-08 18:10:22 +0300 |
---|---|---|
committer | Oleg Morozenkov <omorozenkov@gmail.com> | 2015-09-08 18:10:22 +0300 |
commit | 8bd7f5e0b167763d6b63782913348b1068bc4896 (patch) | |
tree | b0123cff8d880c3b6e0bb34929c5b766789d8a69 /include/tgbot/net | |
parent | 88b945b907eee025e33b259c95a61c7fe5d213c0 (diff) | |
parent | 55b698000a6faa719567b31ac614ba23aec1c6f6 (diff) |
Merge pull request #4 from ray-pixar/master
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 |