X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fglobals.c;h=07d56b597d250686338ed2fbdad8de9907790c53;hb=9b1fade83db8453b75b8c7380eb12ce41b5b889c;hp=2b397cb52376c85437c52c0ffcbc3dd95f30fb29;hpb=3be1ab042ab74e008e40626cc6bd5190b27da033;p=sbcl.git diff --git a/src/runtime/globals.c b/src/runtime/globals.c index 2b397cb..07d56b5 100644 --- a/src/runtime/globals.c +++ b/src/runtime/globals.c @@ -52,7 +52,7 @@ boolean stop_the_world=0; * is done). For the GENCGC, it always points to DYNAMIC_SPACE_START. */ lispobj *current_dynamic_space; -#if defined(LISP_FEATURE_SB_THREAD) +#if defined(LISP_FEATURE_SB_THREAD) && !defined(LISP_FEATURE_GCC_TLS) pthread_key_t specials=0; #endif @@ -71,7 +71,7 @@ void globals_init(void) foreign_function_call_active = 1; #endif -#ifdef LISP_FEATURE_SB_THREAD +#if defined(LISP_FEATURE_SB_THREAD) && !defined(LISP_FEATURE_GCC_TLS) pthread_key_create(&specials,0); #endif }