[nce] fix tls using c23 kw
All checks were successful
eden-license / license-header (pull_request) Successful in 25s
All checks were successful
eden-license / license-header (pull_request) Successful in 25s
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
168f13798b
commit
a1e80cc290
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ ArmNce::~ArmNce() = default;
|
|||
|
||||
// Borrowed from libusb
|
||||
static unsigned int posix_gettid(void) {
|
||||
static _Thread_local unsigned int tl_tid;
|
||||
static thread_local unsigned int tl_tid;
|
||||
int tid;
|
||||
if (tl_tid)
|
||||
return tl_tid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue