-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add FreeBSD10 build job #1491
Add FreeBSD10 build job #1491
Conversation
@gnzlbg: no appropriate reviewer found, use r? to override |
efee8ae
to
a82f231
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ppoll first appeared in FreeBSD 11, so we probably shouldn't define it when freebsd10 is set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure we need to do this? The FreeBSD 10 series is EOL.
cfg.define("_WANT_FREEBSD11_STAT", None); | ||
match freebsd_ver { | ||
Some(10) => &mut cfg, | ||
_ => cfg.define("_WANT_FREEBSD11_STAT", None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You shouldn't need this symbol . This is only needed on 12+ to expose the backwards-compatible definition of struct stat
under a different name, and libc doesn't appear to be doing anything with it.
} | ||
|
||
// FIXME: This constant has a different value in FreeBSD 10: | ||
"RLIM_NLIMITS" if Some(10) == freebsd_ver => true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This constant shouldn't even be defined by libc. I'm going to open a new PR to deprecate it.
☔ The latest upstream changes (presumably #1497) made this pull request unmergeable. Please resolve the merge conflicts. |
No description provided.