From 610bea9c0faa6e76e23eed5074daad2e9110a0ca Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Mon, 30 Mar 2020 10:59:30 +0200 Subject: [PATCH] Remove obsolete typedef from compatibility file MinGWs `ws2tcpip.h` already defines `socklen_t`, making this redundant. What's more, in a recent version of MinGW this has changed to `unsigned int`, breaking compatibility. --- src/wsocket.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wsocket.h b/src/wsocket.h index 3986640..030ba94 100644 --- a/src/wsocket.h +++ b/src/wsocket.h @@ -11,7 +11,6 @@ #include #include -typedef int socklen_t; typedef SOCKADDR_STORAGE t_sockaddr_storage; typedef SOCKET t_socket; typedef t_socket *p_socket;