ObjFW  Check-in [3924c79b73]

Overview
Comment:socket.h: Provide sockaddr_storage on AmigaOS 4
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3924c79b7327d8b1f2661379af69bf6377ea263dabfc9df18ece953ec30be532
User & Date: js on 2018-03-10 19:43:01
Other Links: manifest | tags
Context
2018-03-10
19:57
configure: Check for INFINITY check-in: 8897d12b45 user: js tags: trunk
19:43
socket.h: Provide sockaddr_storage on AmigaOS 4 check-in: 3924c79b73 user: js tags: trunk
19:41
resolver.m: Cast h_addr_list to char ** check-in: cd9635897c user: js tags: trunk
Changes

Modified src/socket.h from [a0aaae51cb] to [e4ca2499ce].

50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65




66
67
68
69
70
71
72
#   include <winsock2.h>
#  endif
# endif
# include <windows.h>
# include <ws2tcpip.h>
#endif

#ifdef OF_MORPHOS
typedef long socklen_t;

struct sockaddr_storage {
	uint8_t ss_len;
	uint8_t ss_family;
	char ss_data[2 + sizeof(struct in_addr) + 8];
};
#endif





#ifdef OF_MORPHOS_IXEMUL
typedef int socklen_t;

struct sockaddr_storage {
	uint8_t ss_len;
	uint8_t ss_family;







|
<
<






>
>
>
>







50
51
52
53
54
55
56
57


58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#   include <winsock2.h>
#  endif
# endif
# include <windows.h>
# include <ws2tcpip.h>
#endif

#ifdef OF_AMIGAOS


struct sockaddr_storage {
	uint8_t ss_len;
	uint8_t ss_family;
	char ss_data[2 + sizeof(struct in_addr) + 8];
};
#endif

#ifdef OF_MORPHOS
typedef long socklen_t;
#endif

#ifdef OF_MORPHOS_IXEMUL
typedef int socklen_t;

struct sockaddr_storage {
	uint8_t ss_len;
	uint8_t ss_family;