Conditionally define out code that is only used for a thread support under Darwin.

This commit is contained in:
jjgarcia 2004-11-03 13:11:54 +00:00
parent 00e78f2877
commit 01422a5034

View file

@ -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,