mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-16 03:18:52 -04:00
add a trivial wrapper for uv_stream_get_write_queue_size
(cherry picked from commit b9bef2cc89)
This commit is contained in:
parent
d420df5fa2
commit
aca98dfaa5
1 changed files with 4 additions and 0 deletions
|
|
@ -124,3 +124,7 @@ isc_uv_udp_freebind(uv_udp_t *handle, const struct sockaddr *addr,
|
|||
int
|
||||
isc_uv_tcp_freebind(uv_tcp_t *handle, const struct sockaddr *addr,
|
||||
unsigned int flags);
|
||||
|
||||
#if UV_VERSION_HEX < UV_VERSION(1, 19, 0)
|
||||
#define uv_stream_get_write_queue_size(stream) ((stream)->write_queue_size)
|
||||
#endif /* UV_VERSION_HEX < UV_VERSION(1, 19, 0) */
|
||||
|
|
|
|||
Loading…
Reference in a new issue