From 9f5973fe8088d6e1d95672ef35caa9f08f210b1e Mon Sep 17 00:00:00 2001
From: znone <glyc@sina.com.cn>
Date: Fri, 23 Apr 2021 14:56:00 +0000
Subject: [PATCH] 1. function query_first return bool 2. fix some bugs.

---
 include/qtl_asio.hpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/qtl_asio.hpp b/include/qtl_asio.hpp
index 9bfe86a..463a90a 100644
--- a/include/qtl_asio.hpp
+++ b/include/qtl_asio.hpp
@@ -4,6 +4,9 @@
 #include "qtl_async.hpp"
 #include <asio/version.hpp>
 #define ASIO_STANDALONE
+#if defined(_MSC_VER) && _WIN32_WINNT<0x0600
+#define ASIO_ENABLE_CANCELIO 1 
+#endif
 #if ASIO_VERSION < 101200
 #include <asio/io_service.hpp>
 #else

--
Gitblit v1.9.3