2014-12-08 22:56:33 +01:00
|
|
|
/*
|
|
|
|
libco
|
|
|
|
auto-selection module
|
|
|
|
license: public domain
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(__GNUC__) && defined(__i386__) || (defined(_MSC_VER) && defined(_M_IX86))
|
|
|
|
#include "x86.c"
|
|
|
|
#elif defined(__GNUC__) && defined(__amd64__) || (defined(_MSC_VER) && defined(_M_AMD64))
|
|
|
|
#include "amd64.c"
|
|
|
|
#elif defined(__GNUC__) && defined(_ARCH_PPC)
|
|
|
|
#include "ppc.c"
|
2016-08-14 18:28:57 +02:00
|
|
|
#elif defined(VITA)
|
2016-09-29 01:03:33 +02:00
|
|
|
#include "scefiber.c"
|
2014-12-08 22:56:33 +01:00
|
|
|
#elif defined(__GNUC__) && (defined(__ARM_EABI__) || defined(__arm__))
|
|
|
|
#include "armeabi.c"
|
|
|
|
#elif defined(__GNUC__)
|
|
|
|
#include "sjlj.c"
|
|
|
|
#elif defined(_MSC_VER)
|
|
|
|
#include "fiber.c"
|
|
|
|
#else
|
|
|
|
#error "libco: unsupported processor, compiler or operating system"
|
|
|
|
#endif
|