Skip to content

Commit 8ec465d

Browse files
authored
Merge pull request #1651 from neuschaefer/a64be
Recognise aarch64_be as big-endian
2 parents 5f7878c + 07bfd34 commit 8ec465d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/include/janet.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ extern "C" {
147147
|| defined(__s390x__) /* S390 64-bit */ \
148148
|| defined(__s390__) /* S390 32-bit */ \
149149
|| defined(__ARMEB__) /* ARM big endian */ \
150+
|| defined(__AARCH64EB__) /* ARM64 big endian */ \
150151
|| ((defined(__CC_ARM) || defined(__ARMCC__)) /* ARM RealView compiler */ \
151152
&& defined(__BIG_ENDIAN))
152153
#define JANET_BIG_ENDIAN 1

0 commit comments

Comments
 (0)