diff options
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 828009b3d..5c25dd6a3 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -1146,7 +1146,7 @@ gb_internal void check_global_variable_decl(CheckerContext *ctx, Entity *&e, Ast // NOTE(bill): ignore this message for the time being // error(e->token, "@(thread_local) is not supported for this target platform"); } - if(build_context.no_tls) { + if(build_context.no_thread_local) { e->Variable.thread_local_model.len = 0; } |