mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-03-12 05:22:55 +00:00
mingw fix
This commit is contained in:
parent
a358a677ab
commit
f457d9d863
@ -28,12 +28,12 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef u_int SOCKET;
|
||||
#ifdef WIN32
|
||||
#define MSG_NOSIGNAL 0
|
||||
#define MSG_DONTWAIT 0
|
||||
typedef int socklen_t;
|
||||
#else
|
||||
typedef u_int SOCKET;
|
||||
#include "errno.h"
|
||||
#define WSAGetLastError() errno
|
||||
#define WSAEINVAL EINVAL
|
||||
|
Loading…
x
Reference in New Issue
Block a user