0.9.13.27:
authorNathan Froyd <froydnj@cs.rice.edu>
Tue, 6 Jun 2006 01:54:42 +0000 (01:54 +0000)
committerNathan Froyd <froydnj@cs.rice.edu>
Tue, 6 Jun 2006 01:54:42 +0000 (01:54 +0000)
Restore buildability on OS X/PPC.

src/runtime/gencgc.c
src/runtime/ppc-darwin-os.c

index c8c6919..9fb8e44 100644 (file)
@@ -4043,6 +4043,7 @@ scavenge_interrupt_contexts(void)
 
 #endif
 
+#if defined(LISP_FEATURE_SB_THREAD)
 static void
 preserve_context_registers (os_context_t *c)
 {
@@ -4067,6 +4068,7 @@ preserve_context_registers (os_context_t *c)
         preserve_pointer(*ptr);
     }
 }
+#endif
 
 /* Garbage collect a generation. If raise is 0 then the remains of the
  * generation are not raised to the next generation. */
index b29e447..1bdf950 100644 (file)
 #include <mach-o/dyld.h>
 #include "bsd-os.h"
 
+#ifdef LISP_FEATURE_SB_THREAD
+#error "Define threading support functions"
+#else
+int arch_os_thread_init(struct thread *thread) {
+    return 1;                   /* success */
+}
+int arch_os_thread_cleanup(struct thread *thread) {
+    return 1;                   /* success */
+}
+#endif
+
 os_context_register_t   *
 os_context_register_addr(os_context_t *context, int offset)
 {