Skip to content

Commit 1c1e677

Browse files
committed
This fixes issue #1318 - on Solarish systems __posix_readdir_r is only
defined for 32-bit Solarish targets. Since rust doesn't currently support 32-bit Solarish targets, the line is both unnecessary and wrong.
1 parent 0d01633 commit 1c1e677

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/unix/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,8 +612,6 @@ extern {
612612
pub fn readdir(dirp: *mut ::DIR) -> *mut ::dirent;
613613
#[cfg_attr(target_os = "macos", link_name = "readdir_r$INODE64")]
614614
#[cfg_attr(target_os = "netbsd", link_name = "__readdir_r30")]
615-
#[cfg_attr(any(target_os = "solaris", target_os = "illumos"),
616-
link_name = "__posix_readdir_r")]
617615
#[cfg_attr(target_os = "freebsd", link_name = "readdir_r@FBSD_1.0")]
618616
pub fn readdir_r(dirp: *mut ::DIR, entry: *mut ::dirent,
619617
result: *mut *mut ::dirent) -> ::c_int;

0 commit comments

Comments
 (0)