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__)
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__)
104#elif defined(__e2k__)
105# define OF_ELBRUS_2000
108#if defined(__APPLE__)
109# include <TargetConditionals.h>
110# if (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) || \
111 (defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR)
116#elif defined(__linux__)
120#elif defined(__FreeBSD__)
122#elif defined(__NetBSD__)
124#elif defined(__OpenBSD__)
126#elif defined(__DragonFly__)
127# define OF_DRAGONFLYBSD
128#elif defined(__ANDROID__)
130#elif defined(__HAIKU__)
134#elif defined(__MORPHOS__)
137#elif defined(__amigaos4__)
140#elif defined(__amigaos__)
141# define OF_AMIGAOS_M68K
143#elif defined(__sun__)
145#elif defined(__QNX__)
147#elif defined(__hpux__)
151#elif defined(__DJGPP__)
154#elif defined(__riscos__)
155# define OF_ACORN_RISC_OS
156#elif defined(__MINT__)
158#elif defined(__gnu_hurd__)
168#elif defined(__MACH__)
172#if defined(__PIC__) || defined(__pic__)