Fixed threading issues for tcc backend
This commit is contained in:
parent
7281b66a4f
commit
0968771785
3 changed files with 52 additions and 1 deletions
|
|
@ -108,6 +108,8 @@ __clang__
|
|||
defined __SUNPRO_C || \
|
||||
defined __xlC__
|
||||
# define NIM_THREADVAR __thread
|
||||
#elif defined __TINYC__
|
||||
# defined NIM_THREADVAR
|
||||
#else
|
||||
# error "Cannot define NIM_THREADVAR"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue