Compare commits

...

2 Commits

Author SHA1 Message Date
DarkWiiPlayer
be62eab189
Merge 610bea9c0faa6e76e23eed5074daad2e9110a0ca into 9100f7e3abf3511009fa21de1e0b304cac5489d3 2023-10-21 21:58:11 -07: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 <winsock2.h>
#include <ws2tcpip.h> #include <ws2tcpip.h>
typedef int socklen_t;
typedef SOCKADDR_STORAGE t_sockaddr_storage; typedef SOCKADDR_STORAGE t_sockaddr_storage;
typedef SOCKET t_socket; typedef SOCKET t_socket;
typedef t_socket *p_socket; typedef t_socket *p_socket;