Skip to content

Commit 1373b95

Browse files
committed
1 parent e4b69b4 commit 1373b95

File tree

1 file changed

+5
-4
lines changed
  • src/unix/linux_like/linux

1 file changed

+5
-4
lines changed

src/unix/linux_like/linux/mod.rs

+5-4
Original file line numberDiff line numberDiff line change
@@ -469,13 +469,14 @@ s! {
469469
// to false. So I'm just removing these, and if uClibc changes
470470
// the #if block in the future to include the following fields, these
471471
// will probably need including here. tsidea, skrap
472-
#[cfg(not(target_env = "uclibc"))]
472+
// QNX (NTO) platform does not define these fields
473+
#[cfg(not(any(target_env = "uclibc", target_os = "nto")))]
473474
pub dlpi_adds: ::c_ulonglong,
474-
#[cfg(not(target_env = "uclibc"))]
475+
#[cfg(not(any(target_env = "uclibc", target_os = "nto")))]
475476
pub dlpi_subs: ::c_ulonglong,
476-
#[cfg(not(target_env = "uclibc"))]
477+
#[cfg(not(any(target_env = "uclibc", target_os = "nto")))]
477478
pub dlpi_tls_modid: ::size_t,
478-
#[cfg(not(target_env = "uclibc"))]
479+
#[cfg(not(any(target_env = "uclibc", target_os = "nto")))]
479480
pub dlpi_tls_data: *mut ::c_void,
480481
}
481482

0 commit comments

Comments
 (0)