Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid depending on max_align_t in <__struct_sockaddr.h>. #335

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

sunfishcode
Copy link
Member

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

Fixes WebAssembly/wasi-sdk#111.

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

Fixes WebAssembly/wasi-sdk#111.
@sunfishcode sunfishcode merged commit 1710f3c into main Oct 10, 2022
@sunfishcode sunfishcode deleted the sunfishcode/max-align branch October 10, 2022 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

undeclared identifier 'max_align_t' when compiling libgit2
2 participants