Skip to content
Snippets Groups Projects
Commit 1c6c0ca7 authored by Raphael Cohn's avatar Raphael Cohn
Browse files

Moved `LOG_NFEATURES` from notbsd to Linux

This is because Android bionic doesn't support `LOG_NFEATURES`.
parent 7fc09699
No related branches found
No related tags found
No related merge requests found
......@@ -446,6 +446,8 @@ pub const NCCS: usize = 32;
pub const AF_NETLINK: ::c_int = 16;
pub const LOG_NFACILITIES: ::c_int = 24;
f! {
pub fn CPU_ZERO(cpuset: &mut cpu_set_t) -> () {
for slot in cpuset.bits.iter_mut() {
......
......@@ -648,7 +648,6 @@ pub const AT_SYMLINK_NOFOLLOW: ::c_int = 0x100;
pub const LOG_CRON: ::c_int = 9 << 3;
pub const LOG_AUTHPRIV: ::c_int = 10 << 3;
pub const LOG_FTP: ::c_int = 11 << 3;
pub const LOG_NFACILITIES: ::c_int = 24;
pub const LOG_PERROR: ::c_int = 0x20;
f! {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment