mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
The implementations diverge enough that it is too confusing to support them in the same source file; split them so it is easier to understand. Change-Id: Ic2f91c75e8a9bb605241441f2caed841585f5b87
19 lines
557 B
C
19 lines
557 B
C
/* 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_CLASSIC) || defined(CPU_ARM_APPLICATION)
|
|
#include "arm/thread-classic.c"
|
|
#elif defined(CPU_ARM_MICRO)
|
|
#include "arm/thread-micro.c"
|
|
#elif defined(CPU_COLDFIRE)
|
|
#include "m68k/thread.c"
|
|
#elif defined(CPU_MIPS)
|
|
#include "mips/thread.c"
|
|
#else
|
|
/* Nothing? OK, give up */
|
|
#error Missing thread impl
|
|
#endif
|