X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fsparc-sunos-os.c;h=9414b067e0a0838201095867e08a7bf8ac0b4d7c;hb=cce46771e6d734c275f3e2d5620004da3b5d09ee;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..9414b06 100644 --- a/src/runtime/sparc-sunos-os.c +++ b/src/runtime/sparc-sunos-os.c @@ -17,6 +17,7 @@ #include #include #include +#include "sbcl.h" #include "./signal.h" #include "os.h" #include "arch.h" @@ -24,7 +25,6 @@ #include "interrupt.h" #include "interr.h" #include "lispregs.h" -#include "sbcl.h" #include #include @@ -36,8 +36,15 @@ #include "validate.h" -#if defined GENCGC /* unlikely ... */ -#include "gencgc.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 *