22 lines
419 B
C
22 lines
419 B
C
|
#if defined(CPU_ARM)
|
||
|
#include "arm/thread.c"
|
||
|
#elif defined(CPU_COLDFIRE)
|
||
|
#include "m68k/thread.c"
|
||
|
#elif CONFIG_CPU == SH7034
|
||
|
#include "sh/thread.c"
|
||
|
#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
|
||
|
#error Missing thread impl
|
||
|
#endif
|
||
|
|
||
|
#endif
|