diff --git a/src/core/stuff.h b/src/core/stuff.h index 988ecf8c..ed61be15 100644 --- a/src/core/stuff.h +++ b/src/core/stuff.h @@ -256,7 +256,7 @@ static inline void onFree(Value* x) { // x->refc = 0x61616161; } -extern _Thread_local i64 comp_currEnvPos; -extern _Thread_local B comp_currPath; -extern _Thread_local B comp_currArgs; -extern _Thread_local B comp_currSrc; +extern i64 comp_currEnvPos; +extern B comp_currPath; +extern B comp_currArgs; +extern B comp_currSrc; diff --git a/src/load.c b/src/load.c index bba4c63d..80916bae 100644 --- a/src/load.c +++ b/src/load.c @@ -96,10 +96,10 @@ B rtWrap_wrap(B x); // consumes void rtWrap_print(void); -_Thread_local i64 comp_currEnvPos; -_Thread_local B comp_currPath; -_Thread_local B comp_currArgs; -_Thread_local B comp_currSrc; +i64 comp_currEnvPos; +B comp_currPath; +B comp_currArgs; +B comp_currSrc; B rt_merge, rt_undo, rt_select, rt_slash, rt_join, rt_ud, rt_pick,rt_take, rt_drop, rt_group, rt_under, rt_reverse, rt_indexOf, rt_count, rt_memberOf, rt_find, rt_cell;