ObjFW  Check-in [1833194867]

Overview
Comment:Define _HPUX_ALT_XOPEN_SOCKET_API where necessary

There is a nasty bug in HP-UX: When using the proper socket APIs that
take a socklen_t (which is 64 bit in LP64 mode), it still calls into
methods that expect an int - so there is a type mismatch between the
headers and the compiled system libraries. This leads to all socklen_t
being interpreted as 0 (due to big endian). Defining
_HPUX_ALT_XOPEN_SOCKET_API makes it use the correct symbols in the
system libraries instead.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1833194867ae08236479b9d53456338757aedb671972cbb42f25877cf703a34e
User & Date: js on 2021-01-14 02:29:31
Other Links: manifest | tags
Context
2021-01-14
02:52
PLATFORMS.md: Add HP-UX check-in: 6b2578b0eb user: js tags: trunk
02:29
Define _HPUX_ALT_XOPEN_SOCKET_API where necessary check-in: 1833194867 user: js tags: trunk
01:45
Fix fallback asprintf implementation for length 0 check-in: 99862df65a user: js tags: trunk
Changes