Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
slp_platformselect.h
1/*
2 * Platform Selection for Stackless Python
3 */
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#if defined(MS_WIN32) && !defined(MS_WIN64) && defined(_M_IX86) && defined(_MSC_VER)
9# include "platform/switch_x86_msvc.h" /* MS Visual Studio on X86 */
10#elif defined(MS_WIN64) && defined(_M_X64) && defined(_MSC_VER) || defined(__MINGW64__)
11# include "platform/switch_x64_msvc.h" /* MS Visual Studio on X64 */
12#elif defined(MS_WIN64) && defined(_M_ARM64)
13# include "platform/switch_arm64_msvc.h" /* MS Visual Studio on ARM64 */
14#elif defined(__GNUC__) && defined(__amd64__) && defined(__ILP32__)
15# include "platform/switch_x32_unix.h" /* gcc on amd64 with x32 ABI */
16#elif defined(__GNUC__) && defined(__amd64__)
17# include "platform/switch_amd64_unix.h" /* gcc on amd64 */
18#elif defined(__GNUC__) && defined(__i386__)
19# include "platform/switch_x86_unix.h" /* gcc on X86 */
20#elif defined(__GNUC__) && defined(__powerpc64__) && (defined(__linux__) || defined(__FreeBSD__))
21# include "platform/switch_ppc64_linux.h" /* gcc on PowerPC 64-bit */
22#elif defined(__GNUC__) && defined(__PPC__) && (defined(__linux__) || defined(__FreeBSD__))
23# include "platform/switch_ppc_linux.h" /* gcc on PowerPC */
24#elif defined(__GNUC__) && defined(__POWERPC__) && defined(__APPLE__)
25# include "platform/switch_ppc_macosx.h" /* Apple MacOS X on 32-bit PowerPC */
26#elif defined(__GNUC__) && defined(__powerpc64__) && defined(_AIX)
27# include "platform/switch_ppc64_aix.h" /* gcc on AIX/PowerPC 64-bit */
28#elif defined(__GNUC__) && defined(_ARCH_PPC) && defined(_AIX)
29# include "platform/switch_ppc_aix.h" /* gcc on AIX/PowerPC */
30#elif defined(__GNUC__) && defined(__powerpc__) && defined(__NetBSD__)
31#include "platform/switch_ppc_unix.h" /* gcc on NetBSD/powerpc */
32#elif defined(__GNUC__) && defined(sparc)
33# include "platform/switch_sparc_sun_gcc.h" /* SunOS sparc with gcc */
34#elif defined(__GNUC__) && defined(__sparc__)
35# include "platform/switch_sparc_sun_gcc.h" /* NetBSD sparc with gcc */
36#elif defined(__SUNPRO_C) && defined(sparc) && defined(sun)
37# include "platform/switch_sparc_sun_gcc.h" /* SunStudio on amd64 */
38#elif defined(__SUNPRO_C) && defined(__amd64__) && defined(sun)
39# include "platform/switch_amd64_unix.h" /* SunStudio on amd64 */
40#elif defined(__SUNPRO_C) && defined(__i386__) && defined(sun)
41# include "platform/switch_x86_unix.h" /* SunStudio on x86 */
42#elif defined(__GNUC__) && defined(__s390__) && defined(__linux__)
43# include "platform/switch_s390_unix.h" /* Linux/S390 */
44#elif defined(__GNUC__) && defined(__s390x__) && defined(__linux__)
45# include "platform/switch_s390_unix.h" /* Linux/S390 zSeries (64-bit) */
46#elif defined(__GNUC__) && defined(__arm__)
47# ifdef __APPLE__
48# include <TargetConditionals.h>
49# endif
50# if TARGET_OS_IPHONE
51# include "platform/switch_arm32_ios.h" /* iPhone OS on arm32 */
52# else
53# include "platform/switch_arm32_gcc.h" /* gcc using arm32 */
54# endif
55#elif defined(__GNUC__) && defined(__mips__) && defined(__linux__)
56# include "platform/switch_mips_unix.h" /* Linux/MIPS */
57#elif defined(__GNUC__) && defined(__aarch64__)
58# include "platform/switch_aarch64_gcc.h" /* Aarch64 ABI */
59#elif defined(__GNUC__) && defined(__mc68000__)
60# include "platform/switch_m68k_gcc.h" /* gcc on m68k */
61#elif defined(__GNUC__) && defined(__csky__)
62#include "platform/switch_csky_gcc.h" /* gcc on csky */
63# elif defined(__GNUC__) && defined(__riscv)
64# include "platform/switch_riscv_unix.h" /* gcc on RISC-V */
65#elif defined(__GNUC__) && defined(__alpha__)
66# include "platform/switch_alpha_unix.h" /* gcc on DEC Alpha */
67#elif defined(MS_WIN32) && defined(__llvm__) && defined(__aarch64__)
68# include "platform/switch_aarch64_gcc.h" /* LLVM Aarch64 ABI for Windows */
69#elif defined(__GNUC__) && defined(__loongarch64) && defined(__linux__)
70# include "platform/switch_loongarch64_linux.h" /* LoongArch64 */
71#elif defined(__GNUC__) && defined(__sh__)
72# include "platform/switch_sh_gcc.h" /* SuperH */
73#endif
74
75#ifdef __cplusplus
76};
77#endif