mirror of https://github.com/bsnes-emu/bsnes.git
24 lines
585 B
C
24 lines
585 B
C
|
/*
|
||
|
libco
|
||
|
auto-selection module
|
||
|
license: public domain
|
||
|
*/
|
||
|
|
||
|
#if defined(__GNUC__) && defined(__i386__)
|
||
|
#include "x86.c"
|
||
|
#elif defined(__GNUC__) && defined(__amd64__)
|
||
|
#include "amd64.c"
|
||
|
#elif defined(__GNUC__) && defined(__powerpc__) && defined(__ELF__)
|
||
|
#include "ppc-elf.c"
|
||
|
#elif defined(__GNUC__)
|
||
|
#include "sjlj.c"
|
||
|
#elif defined(_MSC_VER) && defined(_M_IX86)
|
||
|
#include "x86.c"
|
||
|
#elif defined(_MSC_VER) && defined(_M_AMD64)
|
||
|
#include "amd64.c"
|
||
|
#elif defined(_MSC_VER)
|
||
|
#include "fiber.c"
|
||
|
#else
|
||
|
#error "libco: unsupported processor, compiler or operating system"
|
||
|
#endif
|