mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
gstreamer: ptp-helper: Use u64 instead of c_ulong for ifa_flags on Solaris/Illumos
See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3553#note_2429400 Patch by Marcel Telka <marcel@telka.sk>. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6950>
This commit is contained in:
parent
367d693f22
commit
93a2026584
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ pub mod unix {
|
|||
))]
|
||||
pub type IfaFlags = c_uint;
|
||||
#[cfg(any(target_os = "solaris", target_os = "illumos"))]
|
||||
pub type IfaFlags = c_ulong;
|
||||
pub type IfaFlags = u64;
|
||||
|
||||
pub const IFF_UP: IfaFlags = 0x1;
|
||||
pub const IFF_LOOPBACK: IfaFlags = 0x8;
|
||||
|
|
Loading…
Reference in a new issue