SOCKETS: Fixed commit e69c3adf5
to also work on non Windows platforms
This commit is contained in:
parent
54a4845fb2
commit
d83060938e
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@
|
|||
#define WSAEAFNOSUPPORT EAFNOSUPPORT
|
||||
#endif
|
||||
#define WSAEACCES EACCES
|
||||
#define WSAEINTR EINTR
|
||||
#define INVALID_SOCKET ((SOCKET)-1)
|
||||
#define SOCKET_ERROR -1
|
||||
#include <sys/types.h> /* for fcntl, getpid */
|
||||
|
|
Loading…
Add table
Reference in a new issue