Differences From Artifact [c2b374f2db]:
- File
src/socket_helpers.h
— part of check-in
[b45a563f2b]
at
2020-12-06 17:49:25
on branch trunk
— Use a single global socket base on MorphOS
MorphOS allows sharing a single socket base between tasks, so having a
per-task socket base is unnecessary. (user: js, size: 3154) [annotate] [blame] [check-ins using] [more...]
To Artifact [518711966a]:
- File
src/socket_helpers.h
— part of check-in
[7ab180e9b6]
at
2020-12-18 10:52:06
on branch trunk
— Remove support for ixemul on MorphOS
ixemul is quite buggy and the native support we have for MorphOS is far
superior. (user: js, size: 3093) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
69 70 71 72 73 74 75 | # ifdef OF_MORPHOS typedef uint32_t in_addr_t; # endif #elif !defined(OF_WINDOWS) && !defined(OF_WII) # define closesocket(sock) close(sock) #endif | < < < < | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | # ifdef OF_MORPHOS typedef uint32_t in_addr_t; # endif #elif !defined(OF_WINDOWS) && !defined(OF_WII) # define closesocket(sock) close(sock) #endif #ifdef OF_WII # define accept(sock, addr, addrlen) net_accept(sock, addr, addrlen) # define bind(sock, addr, addrlen) net_bind(sock, addr, addrlen) # define closesocket(sock) net_close(sock) # define connect(sock, addr, addrlen) \ net_connect(sock, (struct sockaddr *)addr, addrlen) # define fcntl(fd, cmd, flags) net_fcntl(fd, cmd, flags) |
︙ | ︙ |