orca/cstdlib/src/__errno_location.c

10 lines
173 B
C

#include <errno.h>
int errno;
int *__errno_location(void)
{
// NOTE(orca): We might need a better solution if we eventually support wasm threads.
return &errno;
}