projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix build with #!-SB-UNICODE
[sbcl.git]
/
src
/
runtime
/
x86-sunos-os.c
diff --git
a/src/runtime/x86-sunos-os.c
b/src/runtime/x86-sunos-os.c
index
46ae087
..
0edd0b1
100644
(file)
--- a/
src/runtime/x86-sunos-os.c
+++ b/
src/runtime/x86-sunos-os.c
@@
-102,6
+102,10
@@
int arch_os_thread_init(struct thread *thread) {
thread->tls_cookie = sel;
pthread_setspecific(specials,thread);
+
+# ifdef LISP_FEATURE_SB_SAFEPOINT
+ thread->selfptr = thread;
+# endif
#endif
#ifdef LISP_FEATURE_C_STACK_IS_CONTROL_STACK