Better initialization of ir2-component-constants on x86-64.
[sbcl.git] / src / runtime / darwin-os.h
index a308fb1..9d0e000 100644 (file)
@@ -40,4 +40,10 @@ extern mach_port_t current_mach_task;
 
 void darwin_init(void);
 
+#ifdef LISP_FEATURE_SB_THREAD
+#define CANNOT_USE_POSIX_SEM_T
+#include <mach/semaphore.h>
+typedef semaphore_t os_sem_t;
+#endif
+
 #endif /* _DARWIN_OS_H */