Skip to content

Commit 552221b

Browse files
committed
1 parent 1c7f291 commit 552221b

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,13 +327,14 @@ s! {
327327
// to false. So I'm just removing these, and if uClibc changes
328328
// the #if block in the future to include the following fields, these
329329
// will probably need including here. tsidea, skrap
330-
#[cfg(not(target_env = "uclibc"))]
330+
// QNX (NTO) platform does not define these fields
331+
#[cfg(not(any(target_env = "uclibc", target_os = "nto")))]
331332
pub dlpi_adds: ::c_ulonglong,
332-
#[cfg(not(target_env = "uclibc"))]
333+
#[cfg(not(any(target_env = "uclibc", target_os = "nto")))]
333334
pub dlpi_subs: ::c_ulonglong,
334-
#[cfg(not(target_env = "uclibc"))]
335+
#[cfg(not(any(target_env = "uclibc", target_os = "nto")))]
335336
pub dlpi_tls_modid: ::size_t,
336-
#[cfg(not(target_env = "uclibc"))]
337+
#[cfg(not(any(target_env = "uclibc", target_os = "nto")))]
337338
pub dlpi_tls_data: *mut ::c_void,
338339
}
339340

0 commit comments

Comments
 (0)