45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
#endif
#ifndef SOCK_CLOEXEC
# define SOCK_CLOEXEC 0
#endif
#if defined(OF_AMIGAOS)
# ifdef OF_AMIGAOS4
# define __USE_INLINE__
# endif
# include <proto/bsdsocket.h>
# include <sys/filio.h>
# define closesocket(sock) CloseSocket(sock)
# define ioctlsocket(fd, req, arg) IoctlSocket(fd, req, arg)
# define hstrerror(err) "unknown (no hstrerror)"
# define SOCKET_ERROR -1
# ifdef OF_MORPHOS
|
<
<
<
|
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
#endif
#ifndef SOCK_CLOEXEC
# define SOCK_CLOEXEC 0
#endif
#if defined(OF_AMIGAOS)
# include <proto/bsdsocket.h>
# include <sys/filio.h>
# define closesocket(sock) CloseSocket(sock)
# define ioctlsocket(fd, req, arg) IoctlSocket(fd, req, arg)
# define hstrerror(err) "unknown (no hstrerror)"
# define SOCKET_ERROR -1
# ifdef OF_MORPHOS
|