mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 15:27:46 +00:00
SOCKETS: Fixed commit e69c3adf5 to also work on non Windows platforms
This commit is contained in:
parent
54a4845fb2
commit
d83060938e
@ -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…
x
Reference in New Issue
Block a user