[nce] fix tls using c23 kw

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2025-09-03 20:48:00 +00:00 committed by crueter
parent 3637a864fc
commit 6a32949f8d

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;