summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fcntl.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fcntl.rs b/src/fcntl.rs
index 474c9780..7bf43645 100644
--- a/src/fcntl.rs
+++ b/src/fcntl.rs
@@ -255,7 +255,8 @@ mod consts {
}
-#[cfg(any(target_os = "netbsd", target_os = "dragonfly", target_os = "openbsd", target_os = "freebsd", target_os = "macos", target_os = "ios"))]
+#[cfg(any(target_os = "netbsd", target_os = "dragonfly", target_os = "openbsd",
+ target_os = "freebsd", target_os = "macos", target_os = "ios"))]
mod consts {
use libc::{self,c_int};
@@ -280,7 +281,8 @@ mod consts {
O_CLOEXEC,
O_FSYNC,
O_NDELAY,
- #[cfg(any(target_os = "netbsd", target_os = "openbsd", target_os = "macos", target_os = "ios"))]
+ #[cfg(any(target_os = "netbsd", target_os = "openbsd", target_os = "macos",
+ target_os = "ios"))]
O_DSYNC,
#[cfg(any(target_os = "netbsd", target_os = "dragonfly", target_os = "freebsd"))]
O_DIRECT,