projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.9.2.39:
[sbcl.git]
/
src
/
runtime
/
runtime.h
diff --git
a/src/runtime/runtime.h
b/src/runtime/runtime.h
index
69560b8
..
e208a52
100644
(file)
--- a/
src/runtime/runtime.h
+++ b/
src/runtime/runtime.h
@@
-53,6
+53,15
@@
typedef signed int s32;
/* this is an integral type the same length as a machine pointer */
typedef unsigned long pointer_sized_uint_t ;
/* this is an integral type the same length as a machine pointer */
typedef unsigned long pointer_sized_uint_t ;
+#include <sys/types.h>
+
+#if defined(LISP_FEATURE_SB_THREAD)
+#include <pthread.h>
+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
/* 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