Fix build on PPC/Darwin
authorChristophe Rhodes <csr21@cantab.net>
Sun, 25 Mar 2012 06:41:21 +0000 (07:41 +0100)
committerChristophe Rhodes <csr21@cantab.net>
Sun, 25 Mar 2012 06:41:21 +0000 (07:41 +0100)
src/runtime/darwin-os.c

index 568bbc7..fbbae26 100644 (file)
@@ -164,13 +164,15 @@ mach_fork() {
         return pid;
     }
 }
+#endif
 
 void darwin_init(void)
 {
+#ifdef LISP_FEATURE_MACH_EXCEPTION_HANDLER
     setup_mach_exception_handling_thread();
+#endif
 }
 
-#endif
 
 #ifdef LISP_FEATURE_SB_THREAD