X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fsparc-sunos-os.c;h=73440fb13f37cfa5e6800c7f10bde4961a540249;hb=f7b3fe1bd86348bfd2a3c506e437084752142c83;hp=634e5e15ca99645a09cc1fd0e7cd21f83fe9ce29;hpb=94ac5b7c3ff37850210b6fc9a7593cf1c5752993;p=sbcl.git diff --git a/src/runtime/sparc-sunos-os.c b/src/runtime/sparc-sunos-os.c index 634e5e1..73440fb 100644 --- a/src/runtime/sparc-sunos-os.c +++ b/src/runtime/sparc-sunos-os.c @@ -36,8 +36,18 @@ #include "validate.h" -#if defined GENCGC /* unlikely ... */ -#include "gencgc.h" +#ifdef LISP_FEATURE_SB_THREAD +#error "Define threading support functions" +#else +struct thread *arch_os_get_current_thread() { + return all_threads; +} +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 *