mirror of
https://github.com/InoriRus/Kyty.git
synced 2026-08-28 05:06:40 +00:00
some minor improvements
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#include "Emulator/Libs/Errno.h"
|
||||
|
||||
#ifdef KYTY_EMU_ENABLED
|
||||
|
||||
namespace Kyty::Libs::Posix {
|
||||
|
||||
static thread_local int g_errno = 0;
|
||||
|
||||
KYTY_SYSV_ABI int* GetErrorAddr()
|
||||
{
|
||||
return &g_errno;
|
||||
}
|
||||
|
||||
} // namespace Kyty::Libs::Posix
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user