Compare commits

...

2 Commits

Author SHA1 Message Date
DarkWiiPlayer
f05a002a3a
Merge 610bea9c0faa6e76e23eed5074daad2e9110a0ca into 8c2ff7217e2a205eb107a6f48b04ff1b2b3090a1 2023-02-14 14:17:51 +08:00
DarkWiiPlayer
610bea9c0f
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.
2020-03-30 10:59:30 +02:00

View File

@ -11,7 +11,6 @@
#include <winsock2.h>
#include <ws2tcpip.h>
typedef int socklen_t;
typedef SOCKADDR_STORAGE t_sockaddr_storage;
typedef SOCKET t_socket;
typedef t_socket *p_socket;