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

Fix build on i686 #32

Merged
merged 1 commit into from
Aug 2, 2017
Merged

Fix build on i686 #32

merged 1 commit into from
Aug 2, 2017

Conversation

dcoffill
Copy link
Contributor

@dcoffill dcoffill commented Aug 1, 2017

Smoltcp doesn't build on 32-bit Linux (i686-unknown-linux-gnu) with default features. This is because the width of the libc::timeval tv_usec member is platform and architecture dependent. To fix this, I simply changed the initialization to use the libc::suseconds_t type alias defined by libc, instead of specifying the exact bit width.

@whitequark whitequark merged commit d03ea64 into smoltcp-rs:master Aug 2, 2017
@whitequark
Copy link
Contributor

Thanks!

Sorry, something went wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants