Overview
Comment: | typedef socklen_t to int on MorphOS
The previous approach of including <pthread.h> - which has the typedef - Since all the functions taking a socklen_t on other platforms take an |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d302df8b468480f4e8773d6c73302c51 |
User & Date: | js on 2017-05-17 22:14:55 |
Other Links: | manifest | tags |
Context
2017-05-17
| ||
22:23 | configure: Disable shared and threads on MorphOS check-in: 31d6703635 user: js tags: trunk | |
22:14 | typedef socklen_t to int on MorphOS check-in: d302df8b46 user: js tags: trunk | |
22:07 | OFThread: Use unsigned int instead of useconds_t check-in: 8e84561642 user: js tags: trunk | |
Changes
Modified src/socket.h from [d3d411a803] to [40a01b9a4a].
︙ | ︙ | |||
42 43 44 45 46 47 48 | # endif # endif # include <windows.h> # include <ws2tcpip.h> #endif #ifdef OF_MORPHOS | | < | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | # endif # endif # include <windows.h> # include <ws2tcpip.h> #endif #ifdef OF_MORPHOS typedef int socklen_t; struct sockaddr_storage { uint8_t ss_len; uint8_t ss_family; char ss_data[2 + sizeof(struct in_addr) + 8]; }; #endif |
︙ | ︙ |