mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 04:28:20 +01:00
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
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user