Loading...
Searching...
No Matches
20#include "objfw-defs.h"
26# define OF_FLOAT_BIG_ENDIAN
27# elif !__LITTLE_ENDIAN__
28# error OF_UNIVERSAL defined, but neither __BIG_ENDIAN__ nor __LITTLE_ENDIAN__!
32#if (defined(__x86_64__) || defined(__amd64__)) && defined(__LP64__)
34#elif defined(__i386__)
36#elif defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__)
38#elif defined(__powerpc__) || defined(__ppc__) || defined(__PPC__)
40#elif defined(__arm64__) || defined(__aarch64__) || defined(__ARM64_ARCH_8__)
42#elif defined(__arm__) || defined(__ARM__)
44# if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || \
45 defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || \
46 defined(__ARM_ARCH_7EM__)
49# if defined(OF_ARMV7) || defined(__ARM_ARCH_6__) || \
50 defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || \
51 defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || \
52 defined(__ARM_ARCH_6T2__)
55#elif defined(_MIPS_SIM)
56# if _MIPS_SIM == _ABI64
59# elif _MIPS_SIM == _ABIN32
62# elif _MIPS_SIM == _ABIO32
66#elif defined(__mips_eabi) && _MIPS_SZPTR == 32
69#elif defined(__sparc64__) || (defined(__sparc__) && defined(__arch64__))
71#elif defined(__sparc__) && !defined(__arch64__)
73#elif defined(__hppa64__) || defined(_PA_RISC2_0)
74# define OF_PA_RISC_2_0
75#elif defined(__hppa__) || defined(_PA_RISC1_0) || defined(_PA_RISC1_1)
77#elif defined(__ia64__) || defined(__IA64__)
79#elif defined(__m68k__)
84# if defined(__mc68040__) || defined(OF_M68060)
87# if defined(__mc68030__) || defined(OF_M68040)
90# if defined(__mc68020__) || defined(OF_M68030)
93# if defined(__mc68010__) || defined(OF_M68020)
96#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
100#elif defined(__s390x__)
102#elif defined(__s390__)
106#elif defined(__e2k__)
107# define OF_ELBRUS_2000
108#elif defined(__loongarch64)
109# define OF_LOONGARCH64
112#if defined(__APPLE__)
113# include <TargetConditionals.h>
114# if (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) || \
115 (defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR)
120#elif defined(__linux__)
124#elif defined(__FreeBSD__)
126#elif defined(__NetBSD__)
128#elif defined(__OpenBSD__)
130#elif defined(__DragonFly__)
131# define OF_DRAGONFLYBSD
132#elif defined(__ANDROID__)
134#elif defined(__HAIKU__)
138#elif defined(__MORPHOS__)
141#elif defined(__amigaos4__)
144#elif defined(__amigaos__)
145# define OF_AMIGAOS_M68K
147#elif defined(__sun__)
149#elif defined(__QNX__)
151#elif defined(__hpux__)
155#elif defined(__DJGPP__)
158#elif defined(__riscos__)
159# define OF_ACORN_RISC_OS
160#elif defined(__MINT__)
162#elif defined(__gnu_hurd__)
164#elif defined(__serenity__)
165# define OF_SERENITYOS
174#elif defined(__MACH__)
178#if defined(__PIC__) || defined(__pic__)