ObjFW  Check-in [d0bf215a88]

Overview
Comment:platform.h: Don't consider X32 to be AMD64
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d0bf215a88cb01aa6a19b6214273339c1c0dab987a1b476891eb69d9bbefd145
User & Date: js on 2024-05-21 23:23:04
Other Links: manifest | tags
Context
2024-05-22
19:25
platform.h: Don't consider X32 to be AMD64 check-in: 84853039f8 user: js tags: 1.1
19:23
PLATFORMS.md: Update Linux check-in: 8b08972098 user: js tags: trunk
2024-05-21
23:23
platform.h: Don't consider X32 to be AMD64 check-in: d0bf215a88 user: js tags: trunk
22:55
configure: Add -no-integrated-as to MIPS ASFLAGS check-in: 633a7efff5 user: js tags: trunk
Changes

Modified src/platform.h from [37d4dfa836] to [df35dfcbc5].

25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#  define OF_BIG_ENDIAN
#  define OF_FLOAT_BIG_ENDIAN
# elif !__LITTLE_ENDIAN__
#  error OF_UNIVERSAL defined, but neither __BIG_ENDIAN__ nor __LITTLE_ENDIAN__!
# endif
#endif

#if defined(__x86_64__) || defined(__amd64__)
# define OF_AMD64
#elif defined(__i386__)
# define OF_X86
#elif defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__)
# define OF_POWERPC64
#elif defined(__powerpc__) || defined(__ppc__) || defined(__PPC__)
# define OF_POWERPC







|







25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#  define OF_BIG_ENDIAN
#  define OF_FLOAT_BIG_ENDIAN
# elif !__LITTLE_ENDIAN__
#  error OF_UNIVERSAL defined, but neither __BIG_ENDIAN__ nor __LITTLE_ENDIAN__!
# endif
#endif

#if (defined(__x86_64__) || defined(__amd64__)) && defined(__LP64__)
# define OF_AMD64
#elif defined(__i386__)
# define OF_X86
#elif defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__)
# define OF_POWERPC64
#elif defined(__powerpc__) || defined(__ppc__) || defined(__PPC__)
# define OF_POWERPC