Skip to content

Commit

Permalink
Add QNX NTO platform support
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Aug 13, 2024
1 parent e4b69b4 commit 84a21d0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/unix/linux_like/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,13 +469,14 @@ s! {
// to false. So I'm just removing these, and if uClibc changes
// the #if block in the future to include the following fields, these
// will probably need including here. tsidea, skrap
#[cfg(not(target_env = "uclibc"))]
// QNX (NTO) platform does not define these fields
#[cfg(not(any(target_env = "uclibc", target_os = "nto")))]
pub dlpi_adds: ::c_ulonglong,
#[cfg(not(target_env = "uclibc"))]
#[cfg(not(any(target_env = "uclibc", target_os = "nto")))]
pub dlpi_subs: ::c_ulonglong,
#[cfg(not(target_env = "uclibc"))]
#[cfg(not(any(target_env = "uclibc", target_os = "nto")))]
pub dlpi_tls_modid: ::size_t,
#[cfg(not(target_env = "uclibc"))]
#[cfg(not(any(target_env = "uclibc", target_os = "nto")))]
pub dlpi_tls_data: *mut ::c_void,
}

Expand Down

0 comments on commit 84a21d0

Please sign in to comment.