Extract the code to emit a memory barrier. Add a memory_barrier_kind field to MonoIns...
[mono.git] / mono / mini / wapihandles.c
index 1c5827f5014621d184908a95ee34f3a863abbfc1..c873a1d243b809827baab1f627e26a243e0814bd 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "mini.h"
 
-#ifdef PLATFORM_WIN32
+#if defined(HOST_WIN32) || !defined(HAVE_SYS_IPC_H) || !defined(HAVE_SYS_SEM_H)
 
 int mini_wapi_hps (int argc, char **argv)
 {