Set loongarch need-align-macro.

This commit is contained in:
liuxiang88 2021-11-18 15:19:46 +08:00
parent 4ea93beebb
commit 03ae4840e4

View File

@ -81,7 +81,8 @@ typedef int bool_t;
defined(__AIX__) || defined(__m68k__) || defined(__mips__) || \
defined(__ia64__) || defined(__arm__) || defined(__sh__) || \
(defined(__PPC__) && defined(__BIG_ENDIAN__)) || \
(defined(__ppc__) && defined(__BIG_ENDIAN__))
(defined(__ppc__) && defined(__BIG_ENDIAN__)) || \
defined(__loongarch__)
#define NEED_ALIGN
#elif defined(__x86__) || defined(__x86_64__) || \
defined(__AMD64__) || defined(_M_IX86) || defined (_M_AMD64) || \