mirror of
https://github.com/janet-lang/janet
synced 2025-10-22 19:27:43 +00:00
Recognise aarch64_be as big-endian
This commit is contained in:
@@ -147,6 +147,7 @@ extern "C" {
|
|||||||
|| defined(__s390x__) /* S390 64-bit */ \
|
|| defined(__s390x__) /* S390 64-bit */ \
|
||||||
|| defined(__s390__) /* S390 32-bit */ \
|
|| defined(__s390__) /* S390 32-bit */ \
|
||||||
|| defined(__ARMEB__) /* ARM big endian */ \
|
|| defined(__ARMEB__) /* ARM big endian */ \
|
||||||
|
|| defined(__AARCH64EB__) /* ARM64 big endian */ \
|
||||||
|| ((defined(__CC_ARM) || defined(__ARMCC__)) /* ARM RealView compiler */ \
|
|| ((defined(__CC_ARM) || defined(__ARMCC__)) /* ARM RealView compiler */ \
|
||||||
&& defined(__BIG_ENDIAN))
|
&& defined(__BIG_ENDIAN))
|
||||||
#define JANET_BIG_ENDIAN 1
|
#define JANET_BIG_ENDIAN 1
|
||||||
|
Reference in New Issue
Block a user