Overview
Comment: | Fix compilation on newer FreeBSD |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e3cecb9f0818c69f14df5b0db37c6225 |
User & Date: | js on 2023-05-07 11:47:14 |
Other Links: | manifest | tags |
Context
2023-05-20
| ||
16:35 | OFDDPSocket: Fix compilation on FreeBSD 10 check-in: 9da54e797f user: js tags: trunk | |
2023-05-07
| ||
11:47 | Fix compilation on newer FreeBSD check-in: e3cecb9f08 user: js tags: trunk | |
2023-05-03
| ||
22:31 | Make IPX sockets compile on FreeBSD 10 check-in: 01355ad851 user: js tags: trunk | |
Changes
Modified src/OFSocket.h from [fe9418cd06] to [12afd4de67].
︙ | ︙ | |||
135 136 137 138 139 140 141 | char sun_path[108]; }; #endif #ifndef IPX_NODE_LEN # define IPX_NODE_LEN 6 #endif | | < | < | | 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 | char sun_path[108]; }; #endif #ifndef IPX_NODE_LEN # define IPX_NODE_LEN 6 #endif #if !defined(OF_HAVE_IPX) struct sockaddr_ipx { sa_family_t sipx_family; uint32_t sipx_network; unsigned char sipx_node[IPX_NODE_LEN]; uint16_t sipx_port; uint8_t sipx_type; }; #elif defined(OF_WINDOWS) # 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 #elif defined(OF_FREEBSD) # define sipx_network sipx_addr.x_net.c_net # define sipx_node sipx_addr.x_host.c_host #endif #ifndef OF_HAVE_APPLETALK struct sockaddr_at { sa_family_t sat_family; |
︙ | ︙ |