diff --git a/ctx.h b/ctx.h index b2640035..be7dc06d 100644 --- a/ctx.h +++ b/ctx.h @@ -48,7 +48,7 @@ extern struct dill_ctx dill_ctx_; #define dill_getctx \ (dill_fast(dill_ctx_.initialized) ? &dill_ctx_ : dill_ctx_init()) -#elif defined __GNUC__ && !defined DILL_THREAD_FALLBACK +#elif defined __GNUC__ && !defined __APPLE__ && !defined DILL_THREAD_FALLBACK extern __thread struct dill_ctx dill_ctx_; #define dill_getctx \