X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fdarwin-os.h;h=9d0e000b2c47f0236bb450fb3ead58bbe69979a4;hb=35ab27e7aab71c94aa6be12da15603c7fd87fca8;hp=a308fb13431d0e35810ea412f37275a33a73f340;hpb=8340bf74c31b29e9552ef8f705b6e1298547c6ab;p=sbcl.git diff --git a/src/runtime/darwin-os.h b/src/runtime/darwin-os.h index a308fb1..9d0e000 100644 --- a/src/runtime/darwin-os.h +++ b/src/runtime/darwin-os.h @@ -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 +typedef semaphore_t os_sem_t; +#endif + #endif /* _DARWIN_OS_H */