diff --git a/examples/open_window.rs b/examples/open_window.rs index 58c0713..ae5a421 100644 --- a/examples/open_window.rs +++ b/examples/open_window.rs @@ -2,6 +2,7 @@ use std::time::Duration; use rtrb::{Consumer, RingBuffer}; +#[cfg(target_os = "macos")] use baseview::copy_to_clipboard; use baseview::{Event, EventStatus, MouseEvent, Window, WindowHandler, WindowScalePolicy};