Merge pull request #2057 from liuxiang88/devel

Add loongarch support to common/arch.h
This commit is contained in:
matt335672 2021-11-18 10:08:41 +00:00 committed by GitHub
commit c36f92049d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

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) || \