X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fruntime.h;h=e208a52f0c53a3ee168a2394019fb8cf3122df71;hb=69d60b456b07a0256f08df0d02484f361ce5737c;hp=c6e8a6eee0f880246b3aef6e1cf0b81ac350ee83;hpb=1cfc4ee568b84b2dfa7db391b8a7c269f1bff1be;p=sbcl.git diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index c6e8a6e..e208a52 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -45,17 +45,23 @@ /* even on alpha, int happens to be 4 bytes. long is longer. */ /* FIXME: these names really shouldn't reflect their length and this is not quite right for some of the FFI stuff */ -#if 64 == N_WORD_BITS -typedef unsigned long u32; -typedef signed long s32; -#else +typedef unsigned long u64; +typedef signed long s64; typedef unsigned int u32; typedef signed int s32; -#endif /* this is an integral type the same length as a machine pointer */ typedef unsigned long pointer_sized_uint_t ; +#include + +#if defined(LISP_FEATURE_SB_THREAD) +#include +typedef pthread_t os_thread_t; +#else +typedef pid_t os_thread_t; +#endif + /* FIXME: we do things this way because of the alpha32 port. once alpha64 has arrived, all this nastiness can go away */ #if 64 == N_WORD_BITS