Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ pub type dispatch_time_t = u64;
// dispatch_io_interval_flags_t
pub type dispatch_queue_attr_t = *const dispatch_object_s;

#[cfg_attr(any(target_os = "macos", target_os = "ios"),
#[cfg_attr(target_vendor = "apple",
link(name = "System", kind = "dylib"))]
#[cfg_attr(not(any(target_os = "macos", target_os = "ios")),
#[cfg_attr(not(target_vendor = "apple"),
link(name = "dispatch", kind = "dylib"))]
extern {
static _dispatch_main_q: dispatch_object_s;
Expand Down