Skip to content

Commit 126a879

Browse files
committed
Add support for QNX Neutrino 7.1
1 parent c375a10 commit 126a879

File tree

16 files changed

+772
-225
lines changed

16 files changed

+772
-225
lines changed

src/dir.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,9 @@ impl Entry {
230230
target_os = "l4re",
231231
target_os = "linux",
232232
target_os = "macos",
233-
target_os = "solaris"))] {
233+
target_os = "solaris",
234+
target_os = "nto",
235+
))] {
234236
self.0.d_ino as u64
235237
} else {
236238
u64::from(self.0.d_fileno)
@@ -252,7 +254,8 @@ impl Entry {
252254
#[cfg(not(any(
253255
target_os = "illumos",
254256
target_os = "solaris",
255-
target_os = "haiku"
257+
target_os = "haiku",
258+
target_os = "nto",
256259
)))]
257260
match self.0.d_type {
258261
libc::DT_FIFO => Some(Type::Fifo),
@@ -269,7 +272,8 @@ impl Entry {
269272
#[cfg(any(
270273
target_os = "illumos",
271274
target_os = "solaris",
272-
target_os = "haiku"
275+
target_os = "haiku",
276+
target_os = "nto",
273277
))]
274278
None
275279
}

0 commit comments

Comments
 (0)