ObjFW  Check-in [1fba563718]

Overview
Comment:Fix redefinition of struct sockaddr_un on MiNT
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1fba563718b63a1e15cbf2cf8200f2329f9c8af5f3688a0c6d9761e2d771b08d
User & Date: js on 2022-01-29 22:00:59
Other Links: manifest | tags
Context
2022-01-29
22:05
OFScryptTests: Clean up #ifdefs check-in: 33b7e51bb1 user: js tags: trunk
22:00
Fix redefinition of struct sockaddr_un on MiNT check-in: 1fba563718 user: js tags: trunk
22:00
Revert back to native MiNT paths check-in: 74a6376d81 user: js tags: trunk
Changes

Modified src/OFSocket.h from [65bba562bd] to [064208fd7e].

133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# define IPX_NODE_LEN 6
# define sipx_family sa_family
# define sipx_network sa_netnum
# define sipx_node sa_nodenum
# define sipx_port sa_socket
#endif

#if !defined(OF_HAVE_UNIX_SOCKETS) && !defined(OF_MORPHOS)
struct sockaddr_un {
	sa_family_t sun_family;
	char sun_path[108];
};
#endif

/**







|







133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# define IPX_NODE_LEN 6
# define sipx_family sa_family
# define sipx_network sa_netnum
# define sipx_node sa_nodenum
# define sipx_port sa_socket
#endif

#if !defined(OF_HAVE_UNIX_SOCKETS) && !defined(OF_MORPHOS) && !defined(OF_MINT)
struct sockaddr_un {
	sa_family_t sun_family;
	char sun_path[108];
};
#endif

/**