compat: A quick fix for build failure on Windows due to SHUT_RDWR (#2046)
compat: A quick fix for build failure on Windows due to SHUT_RDWR (#2046)

A recently introduced code uses SHUT_RDWR to shutdown both send
and receive ends of a socket. This implementation does not work
as expected on Windows where SHUT_* constants do not exist.

Work around this issue by aliasing SD_BOTH to SHUT_RDWR.

Signed-off-by: Fujimoto Seiji <ef879192bb1e41d519c82cf76440dc8e9a530806@clear-code.com>
nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit