sys_socket: Don't define socklen_t if it is already defined on mingw.
commit4e3f2d4cfdba14e1d89479362061a9280f2f22b6
authorBruno Haible <bruno@clisp.org>
Tue, 30 Jun 2020 00:26:45 +0000 (30 02:26 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 30 Jun 2020 01:04:34 +0000 (30 03:04 +0200)
tree1bf32b25c2aa11b688e0f6f150f93789da167fb9
parent7e7f989df3204980167c1bd4e77d04f34dfb73b2
sys_socket: Don't define socklen_t if it is already defined on mingw.

Reported by Keith Marshall <keith.d.marshall@ntlworld.com> in
<https://savannah.gnu.org/bugs/?57725>,
by Rahul Das <bokul_4u@yahoo.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-04/msg00081.html>,
and by Eli Zaretskii <eliz@gnu.org> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-06/msg00068.html>.

* lib/sys_socket.in.h (socklen_t): Remove definition.
ChangeLog
lib/sys_socket.in.h