mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-05 00:40:48 -08:00
Conditionally define out code that is only used for a thread support under Darwin.
This commit is contained in:
parent
00e78f2877
commit
01422a5034
1 changed files with 3 additions and 1 deletions
|
|
@ -3505,8 +3505,10 @@ static void *GC_mprotect_thread(void *arg) {
|
|||
|
||||
mach_msg_id_t id;
|
||||
|
||||
#if defined(THREADS)
|
||||
GC_darwin_register_mach_handler_thread(mach_thread_self());
|
||||
|
||||
#endif
|
||||
|
||||
for(;;) {
|
||||
r = mach_msg(
|
||||
&msg.head,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue