]> git.proxmox.com Git - wasi-libc.git/commit
Avoid depending on `max_align_t` in <__struct_sockaddr.h>.
authorDan Gohman <dev@sunfishcode.online>
Mon, 10 Oct 2022 17:35:30 +0000 (10:35 -0700)
committerDan Gohman <dev@sunfishcode.online>
Mon, 10 Oct 2022 18:04:26 +0000 (11:04 -0700)
commit1710f3c0103eb05c651221670577e58cc8100b6b
treea99d4c0c922401ea11b0373be097cc208def6ed0
parent099caae3eb9111a67d2f0e1b4f9f5f98e682482a
Avoid depending on `max_align_t` in <__struct_sockaddr.h>.

`max_align_t` is not declared in C99 mode, so use an aligned attribute
and `__BIGGEST_ALIGNMENT__` instead.

Fixes WebAssembly/wasi-sdk#111.
libc-bottom-half/headers/public/__struct_sockaddr.h