X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fglobals.c;h=63d53edce5327155cee59c128b8630c63e3faad6;hb=eac461c1f1ca91cfe282c779291d582ed6b336cb;hp=5e84af02f9f4490c1006bb20ffdbedcc6388f987;hpb=716153dd41af2df6ad91939fb3dcf0ba99cd72cf;p=sbcl.git diff --git a/src/runtime/globals.c b/src/runtime/globals.c index 5e84af0..63d53ed 100644 --- a/src/runtime/globals.c +++ b/src/runtime/globals.c @@ -26,9 +26,13 @@ int foreign_function_call_active; #endif +#if !defined(LISP_FEATURE_SB_THREAD) lispobj *current_control_stack_pointer; +#endif +#if defined(LISP_FEATURE_X86) || defined(LISP_FEATURE_X86_64) || !defined(LISP_FEATURE_SB_THREAD) lispobj *current_control_frame_pointer; -#ifndef BINDING_STACK_POINTER +#endif +#if !defined(BINDING_STACK_POINTER) && !defined(LISP_FEATURE_SB_THREAD) lispobj *current_binding_stack_pointer; #endif @@ -56,7 +60,9 @@ void globals_init(void) { /* Space, stack, and free pointer vars are initialized by * validate() and coreparse(). */ +#if defined(LISP_FEATURE_X86) || defined(LISP_FEATURE_X86_64) || !defined(LISP_FEATURE_SB_THREAD) current_control_frame_pointer = (lispobj *)0; +#endif #ifndef LISP_FEATURE_GENCGC /* no GC trigger yet */