forked from len0rd/rockbox
Rearrange #ifdefs a bit, so SIGALTSTACK overrides CPU-specific threading.
Change-Id: Ie3661f53bd7576d965fcc52facb532199b87c017
This commit is contained in:
parent
cbd44f4bc4
commit
268b725c40
2 changed files with 26 additions and 29 deletions
|
@ -1,4 +1,11 @@
|
|||
#if defined(CPU_ARM)
|
||||
/* First some generic implementations */
|
||||
#if defined(HAVE_WIN32_FIBER_THREADS)
|
||||
#include "thread-win32.c"
|
||||
#elif defined(HAVE_SIGALTSTACK_THREADS)
|
||||
#include "thread-unix.c"
|
||||
|
||||
/* Now the CPU-specific implementations */
|
||||
#elif defined(CPU_ARM)
|
||||
#include "arm/thread.c"
|
||||
#elif defined(CPU_COLDFIRE)
|
||||
#include "m68k/thread.c"
|
||||
|
@ -7,15 +14,6 @@
|
|||
#elif defined(CPU_MIPS)
|
||||
#include "mips/thread.c"
|
||||
#else
|
||||
|
||||
/* generic thread.c */
|
||||
|
||||
#if defined(HAVE_WIN32_FIBER_THREADS)
|
||||
#include "thread-win32.c"
|
||||
#elif defined(HAVE_SIGALTSTACK_THREADS)
|
||||
#include "thread-unix.c"
|
||||
#else
|
||||
/* Nothing? OK, give up */
|
||||
#error Missing thread impl
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue