Skip to content

Commit

Permalink
removing uncastable constants
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Dec 6, 2023
1 parent b879e22 commit b1f5257
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 25 deletions.
4 changes: 2 additions & 2 deletions changelog/2248.fixed.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Fixed solaris build globally, also disabling a subset of `InterfaceFlags` values
which are of a different types than C int.
Fixed solaris build globally, also removed a subset of `InterfaceFlags` values
which are of i64 type.
23 changes: 0 additions & 23 deletions src/net/if_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,29 +213,6 @@ libc_bitflags!(
/// Interface is offline
#[cfg(solarish)]
IFF_OFFLINE;
/*
// FIXME: The following are from 64 bits long long type.
#[cfg(solarish)]
IFF_COS_ENABLED;
/// Prefer as source addr.
#[cfg(solarish)]
IFF_PREFERRED;
/// RFC3041
#[cfg(solarish)]
IFF_TEMPORARY;
/// MTU set with SIOCSLIFMTU
#[cfg(solarish)]
IFF_FIXEDMTU;
/// Cannot send / receive packets
#[cfg(solarish)]
IFF_VIRTUAL;
/// Local address in use
#[cfg(solarish)]
IFF_DUPLICATE;
/// IPMP IP interface
//#[cfg(solarish)]
IFF_IPMP;
*/
}
);

Expand Down

0 comments on commit b1f5257

Please sign in to comment.