Fix compilation for non-unix systems

This commit is contained in:
bjorn3 2020-10-15 18:51:49 +02:00
parent 1c272b1224
commit 1c7c591cb8

View File

@ -5,7 +5,7 @@
use crate::prelude::*;
#[cfg(feature = "jit")]
#[cfg(all(feature = "jit", unix))]
#[no_mangle]
pub static mut __cg_clif_global_atomic_mutex: libc::pthread_mutex_t =
libc::PTHREAD_MUTEX_INITIALIZER;