From df93b74fca46851f311660f76aaaa8f6f8d218c3 Mon Sep 17 00:00:00 2001 From: Runji Wang Date: Sat, 2 Nov 2019 00:38:50 +0800 Subject: [PATCH] fix byte order for aarch64 and riscv --- include/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/common.h b/include/common.h index ce6ff580..339074c9 100644 --- a/include/common.h +++ b/include/common.h @@ -306,7 +306,8 @@ MGUI_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8); */ #if defined(__i386__) || defined(__ia64__) || defined(__x86_64__) || defined(__amd64) || \ (defined(__alpha__) || defined(__alpha)) || \ - defined(__arm__) || \ + defined(__arm__) || defined(__aarch64__) || \ + defined(__riscv) || \ (defined(__CC_ARM) && !defined(__BIG_ENDIAN)) || \ (defined(__mips__) && defined(__MIPSEL__)) || \ defined(__LITTLE_ENDIAN__) || \