Restore buildability on OS X/PPC.
#endif
+#if defined(LISP_FEATURE_SB_THREAD)
static void
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. */
#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)
{