ObjFW  Check-in [84853039f8]

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

Modified src/platform.h from [b44c54e58f] to [a058ae787f].

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