Skip to content

Commit 1c7c591

Browse files
committed
Fix compilation for non-unix systems
1 parent 1c272b1 commit 1c7c591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/atomic_shim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
use crate::prelude::*;
77

8-
#[cfg(feature = "jit")]
8+
#[cfg(all(feature = "jit", unix))]
99
#[no_mangle]
1010
pub static mut __cg_clif_global_atomic_mutex: libc::pthread_mutex_t =
1111
libc::PTHREAD_MUTEX_INITIALIZER;

0 commit comments

Comments
 (0)