Skip to content

Commit c04c251

Browse files
committed
fcntls fix build for solaris.
close #2540
1 parent 4b6a5e3 commit c04c251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fcntl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ libc_bitflags!(
141141
#[cfg(any(
142142
freebsdlike,
143143
linux_android,
144-
solarish,
144+
target_os = "illumos",
145145
target_os = "netbsd"
146146
))]
147147
O_DIRECT;

0 commit comments

Comments
 (0)