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
parent
commit
d090707931
No known key found for this signature in database GPG Key ID: 362DA3DC1901E080
  1. 2
      src/core/arm/nce/arm_nce.cpp

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

Loading…
Cancel
Save