ObjFW  Diff

Differences From Artifact [cefe3ad662]:

To Artifact [5394fb29aa]:


44
45
46
47
48
49
50
51
52



53
54

55
56

57


58
59
60
61
62
63
64
44
45
46
47
48
49
50


51
52
53


54

55
56
57
58
59
60
61
62
63
64
65
66







-
-
+
+
+
-
-
+
-

+

+
+







# define SOMAXCONN 16
#endif

#ifndef SOCK_CLOEXEC
# define SOCK_CLOEXEC 0
#endif

#if !defined(OF_WINDOWS) && !defined(OF_WII)
# define closesocket(sock) close(sock)
#if defined(OF_MORPHOS)
# include <sys/filio.h>
# define closesocket(sock) CloseSocket(sock)
#endif

# define ioctlsocket(fd, req, arg) IoctlSocket(fd, req, arg)
#ifdef OF_MORPHOS
# define hstrerror(err) "unknown (no hstrerror)"
# define SOCKET_ERROR -1
typedef uint32_t in_addr_t;
#elif !defined(OF_WINDOWS) && !defined(OF_WII)
# define closesocket(sock) close(sock)
#endif

#ifdef OF_MORPHOS_IXEMUL
typedef uint32_t in_addr_t;
#endif

#ifdef OF_WII