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.
This commit is contained in:
parent
5b18e475f3
commit
610bea9c0f
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue