Skip to content

Commit 5341791

Browse files
authored
Add support for tvOS and watchOS (#84)
1 parent 235907b commit 5341791

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/unix.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,13 @@ pub fn set_errno(Errno(errno): Errno) {
5656

5757
extern "C" {
5858
#[cfg_attr(
59-
any(target_os = "macos", target_os = "ios", target_os = "freebsd"),
59+
any(
60+
target_os = "macos",
61+
target_os = "ios",
62+
target_os = "tvos",
63+
target_os = "watchos",
64+
target_os = "freebsd"
65+
),
6066
link_name = "__error"
6167
)]
6268
#[cfg_attr(

0 commit comments

Comments
 (0)