Hosted builds using thread.c have errno as thread context.

Never came up testing but I don't have those SDKs installed. Taking a
jab at it.

Change-Id: I4d0de1c666e0895d41b3de41dd9024626bd37601
This commit is contained in:
Michael Sevakis 2014-08-05 22:05:20 -04:00
parent 29f5385263
commit 0615cb8042

View file

@ -35,7 +35,7 @@ struct regs
size_t stack_size; /* stack size, not always used */
uintptr_t stack; /* pointer to start of the stack buffer */
};
#include <errno.h>
#ifdef HAVE_SIGALTSTACK_THREADS
#include <signal.h>
/* MINSIGSTKSZ for the OS to deliver the signal + 0x3000 for us */