From aab9d7023c2b8d1db0d9644972ab8eb7d92819d3 Mon Sep 17 00:00:00 2001 From: Luis Cruz Date: Thu, 21 Sep 2023 16:06:03 +0100 Subject: [PATCH] Fix apple tvos support --- src/unix/bsd/apple/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs index 4cb69f5ece91f..b22b40ef9b374 100644 --- a/src/unix/bsd/apple/mod.rs +++ b/src/unix/bsd/apple/mod.rs @@ -6131,7 +6131,7 @@ cfg_if! { } } cfg_if! { - if #[cfg(any(target_os = "macos", target_os = "ios"))] { + if #[cfg(any(target_os = "macos", target_os = "ios", target_os = "tvos"))] { extern "C" { pub fn memmem( haystack: *const ::c_void,