Skip to content

Commit bbe01cb

Browse files
Fix the definition of RhGetCurrentThunkContext
1 parent 09b5590 commit bbe01cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/coreclr/nativeaot/Runtime/unix/PalRedhawkUnix.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,10 +489,11 @@ EXTERN_C intptr_t* RhpGetThunkData()
489489
}
490490
#endif //FEATURE_EMULATED_TLS
491491

492-
EXTERN_C intptr_t RhGetCurrentThunkContext()
492+
FCIMPL0(intptr_t, RhGetCurrentThunkContext)
493493
{
494494
return tls_thunkData;
495495
}
496+
FCIMPLEND
496497

497498
// Register the thread with OS to be notified when thread is about to be destroyed
498499
// It fails fast if a different thread was already registered.

0 commit comments

Comments
 (0)