Browse Source
[nce] fix tls using c23 kw
Signed-off-by: lizzie <lizzie@eden-emu.dev>
liz-dynarmic-macos-fbsd-port
lizzie
4 months ago
committed by
Caio Oliveira
No known key found for this signature in database
GPG Key ID: 362DA3DC1901E080
1 changed files with
1 additions and
1 deletions
-
src/core/arm/nce/arm_nce.cpp
|
|
|
@ -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; |
|
|
|
|