now works with libuv v1.37 (see #191)

This commit is contained in:
Michele Caini 2020-04-24 00:57:09 +02:00
parent 3d9e45e733
commit ff97bbbc9d
3 changed files with 7 additions and 4 deletions

View File

@ -71,7 +71,7 @@ function(fetch_libuv)
FetchContent_Declare(
libuv
GIT_REPOSITORY https://github.com/libuv/libuv.git
GIT_TAG v1.36.0
GIT_TAG v1.37.0
GIT_SHALLOW 1
)

View File

@ -14,7 +14,7 @@ class UVMConan(ConanFile):
exports = "LICENSE"
exports_sources = "src/*"
no_copy_source = True
requires = "libuv/1.35.0@bincrafters/stable"
requires = "libuv/1.37.0@bincrafters/stable"
def package(self):
self.copy(pattern="LICENSE", dst="licenses")

View File

@ -46,7 +46,8 @@ enum class UVUDPFlags: std::underlying_type_t<uv_udp_flags> {
IPV6ONLY = UV_UDP_IPV6ONLY,
UDP_PARTIAL = UV_UDP_PARTIAL,
REUSEADDR = UV_UDP_REUSEADDR,
UDP_MMSG_CHUNK = UV_UDP_MMSG_CHUNK
UDP_MMSG_CHUNK = UV_UDP_MMSG_CHUNK,
UDP_RECVMMSG = UV_UDP_RECVMMSG
};
@ -150,7 +151,7 @@ public:
* * `UDPHandle::Bind::IPV6ONLY`
* * `UDPHandle::Bind::UDP_PARTIAL`
* * `UDPHandle::Bind::REUSEADDR`
* * `UDPHandle::Bind::UDP_MMSG_CHUNK`
* * `UDPHandle::Bind::UDP_RECVMMSG`
*
* See the official
* [documentation](http://docs.libuv.org/en/v1.x/udp.html#c.uv_udp_flags)
@ -234,6 +235,7 @@ public:
* * `UDPHandle::Bind::UDP_PARTIAL`
* * `UDPHandle::Bind::REUSEADDR`
* * `UDPHandle::Bind::UDP_MMSG_CHUNK`
* * `UDPHandle::Bind::UDP_RECVMMSG`
*
* See the official
* [documentation](http://docs.libuv.org/en/v1.x/udp.html#c.uv_udp_flags)
@ -255,6 +257,7 @@ public:
* * `UDPHandle::Bind::UDP_PARTIAL`
* * `UDPHandle::Bind::REUSEADDR`
* * `UDPHandle::Bind::UDP_MMSG_CHUNK`
* * `UDPHandle::Bind::UDP_RECVMMSG`
*
* See the official
* [documentation](http://docs.libuv.org/en/v1.x/udp.html#c.uv_udp_flags)