some fixes

This commit is contained in:
cathugger
2017-10-22 11:10:13 +00:00
parent 86216787ba
commit 12b9fd5e40
2 changed files with 13 additions and 7 deletions

View File

@@ -83,8 +83,12 @@
#define CPU_ALPHA
#endif
#if defined(__aarch64__)
#define CPU_AARCH64
#endif
/* 64 bit cpu */
#if defined(CPU_X86_64) || defined(CPU_IA64) || defined(CPU_SPARC64) || defined(__64BIT__) || defined(__LP64__) || defined(_LP64) || (defined(_MIPS_SZLONG) && (_MIPS_SZLONG == 64))
#if defined(CPU_X86_64) || defined(CPU_IA64) || defined(CPU_SPARC64) || defined(CPU_AARCH64) || defined(__64BIT__) || defined(__LP64__) || defined(_LP64) || (defined(_MIPS_SZLONG) && (_MIPS_SZLONG == 64))
#define CPU_64BITS
#endif