summaryrefslogtreecommitdiff
path: root/include/tgbot/net
diff options
context:
space:
mode:
authorray-pixar <pixar@chmail.ir>2015-09-08 19:35:49 +0430
committerray-pixar <pixar@chmail.ir>2015-09-08 19:35:49 +0430
commit55b698000a6faa719567b31ac614ba23aec1c6f6 (patch)
treeb0123cff8d880c3b6e0bb34929c5b766789d8a69 /include/tgbot/net
parent88b945b907eee025e33b259c95a61c7fe5d213c0 (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.h4
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