[nce] fix tls using c23 kw
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:
lizzie 2025-09-03 20:48:00 +00:00
parent 168f13798b
commit a1e80cc290
Signed by: Lizzie
GPG key ID: 00287378CADCAB13

View file

@ -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;