Skip to content

Commit

Permalink
Auto merge of #3370 - NordSecurity:add_apple_tvos_support, r=JohnTitor
Browse files Browse the repository at this point in the history
Fix apple tvos support

This PR adds one missed conditional to support apple tvOS target, it complements #2958.
  • Loading branch information
bors committed Oct 5, 2023
2 parents 4cdc32e + aab9d70 commit c7a860d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/bsd/apple/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c7a860d

Please sign in to comment.