X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fdarwin-os.h;h=9d0e000b2c47f0236bb450fb3ead58bbe69979a4;hb=eac461c1f1ca91cfe282c779291d582ed6b336cb;hp=be8640db1b70b1e41a72f1d444e5efe152f10e14;hpb=e8c80f67856e7fd94f64574d10b5637fef5af1f6;p=sbcl.git diff --git a/src/runtime/darwin-os.h b/src/runtime/darwin-os.h index be8640d..9d0e000 100644 --- a/src/runtime/darwin-os.h +++ b/src/runtime/darwin-os.h @@ -38,4 +38,12 @@ typedef ucontext_t os_context_t; extern mach_port_t current_mach_task; #endif +void darwin_init(void); + +#ifdef LISP_FEATURE_SB_THREAD +#define CANNOT_USE_POSIX_SEM_T +#include +typedef semaphore_t os_sem_t; +#endif + #endif /* _DARWIN_OS_H */