mirror of
https://github.com/danbulant/cushy
synced 2026-07-05 19:20:36 +00:00
Fixing MacOS compilation
This commit is contained in:
parent
3f2aace55e
commit
bb8b82404b
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ impl UnwindsafeCondvar {
|
||||||
pub const fn new() -> Self {
|
pub const fn new() -> Self {
|
||||||
#[cfg(any(target_os = "ios", target_os = "macos"))]
|
#[cfg(any(target_os = "ios", target_os = "macos"))]
|
||||||
{
|
{
|
||||||
Self(AssertUnwindSafe(Condvar::new()))
|
Self(std::panic::AssertUnwindSafe(Condvar::new()))
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(any(target_os = "ios", target_os = "macos")))]
|
#[cfg(not(any(target_os = "ios", target_os = "macos")))]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue