mirror of https://github.com/bsnes-emu/bsnes.git
30 lines
641 B
C
30 lines
641 B
C
#if defined(__clang__)
|
|
#pragma clang diagnostic ignored "-Wparentheses"
|
|
#endif
|
|
|
|
#if defined(__clang__) || defined(__GNUC__)
|
|
#if defined(__i386__)
|
|
#include "x86.c"
|
|
#elif defined(__amd64__)
|
|
#include "amd64.c"
|
|
#elif defined(__arm__)
|
|
#include "arm.c"
|
|
#elif defined(_ARCH_PPC)
|
|
#include "ppc.c"
|
|
#elif defined(_WIN32)
|
|
#include "fiber.c"
|
|
#else
|
|
#include "sjlj.c"
|
|
#endif
|
|
#elif defined(_MSC_VER)
|
|
#if defined(_M_IX86)
|
|
#include "x86.c"
|
|
#elif defined(_M_AMD64)
|
|
#include "amd64.c"
|
|
#else
|
|
#include "fiber.c"
|
|
#endif
|
|
#else
|
|
#error "libco: unsupported processor, compiler or operating system"
|
|
#endif
|