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

Switched bsd speed_t def. to libc::speed_t #537

Merged
merged 1 commit into from
Feb 26, 2017
Merged

Switched bsd speed_t def. to libc::speed_t #537

merged 1 commit into from
Feb 26, 2017

Conversation

berkowski
Copy link
Contributor

Addresses #531

speed_t definition for bsd now aliases libc::speed_t

This should let CI pass for x86_64-unknown-freebsd.

Further changes should be implemented for linux and all other constants defined in libc. I can continue on with those changes here or create a new issue/pull request.

@berkowski
Copy link
Contributor Author

travis still running for berkowski passes x86_64-unknown-freebsd: https://travis-ci.org/berkowski/nix/jobs/205594635


pub type cc_t = c_uchar;
use libc::{c_int, c_uint, c_ulong, c_uchar};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two lines can be combined with use libc::{self, ...} but doesn't really matter.

@posborne
Copy link
Member

Looks good.

@posborne posborne merged commit cd7380e into nix-rust:new-ci/master Feb 26, 2017
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.

2 participants