diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2014-08-05 22:05:20 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2014-08-05 22:05:20 -0400 |
commit | 0615cb8042b5bc381288b1eb99fdfdda21f5dfeb (patch) | |
tree | 359738419f3b47e6dcefd525dd9a8dda097dc209 | |
parent | 29f5385263367ada481cb91fb5f44b6c1f90c59c (diff) | |
download | rockbox-0615cb8042b5bc381288b1eb99fdfdda21f5dfeb.tar.gz rockbox-0615cb8042b5bc381288b1eb99fdfdda21f5dfeb.zip |
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
-rw-r--r-- | firmware/asm/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/asm/thread.h b/firmware/asm/thread.h index 3fa8f5625d..be48095a8c 100644 --- a/firmware/asm/thread.h +++ b/firmware/asm/thread.h | |||
@@ -35,7 +35,7 @@ struct regs | |||
35 | size_t stack_size; /* stack size, not always used */ | 35 | size_t stack_size; /* stack size, not always used */ |
36 | uintptr_t stack; /* pointer to start of the stack buffer */ | 36 | uintptr_t stack; /* pointer to start of the stack buffer */ |
37 | }; | 37 | }; |
38 | 38 | #include <errno.h> | |
39 | #ifdef HAVE_SIGALTSTACK_THREADS | 39 | #ifdef HAVE_SIGALTSTACK_THREADS |
40 | #include <signal.h> | 40 | #include <signal.h> |
41 | /* MINSIGSTKSZ for the OS to deliver the signal + 0x3000 for us */ | 41 | /* MINSIGSTKSZ for the OS to deliver the signal + 0x3000 for us */ |