mirror of
https://github.com/stefanberger/libtpms
synced 2026-01-08 12:24:40 +00:00
Fix support for ARM64
Fix support for ARM64 by testing for whether __aarch64__ is defined. Also see http://sourceforge.net/p/predef/wiki/Architectures for the gcc preprocessor defines. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
parent
b886be8010
commit
9b392bf3fb
@ -1848,7 +1848,7 @@ void TPM_SHA1Delete(void **context)
|
||||
defined(__powerpc64__) || \
|
||||
defined(__s390x__) || \
|
||||
(defined(__sparc__) && defined(__arch64__)) || \
|
||||
defined(__arm64__)
|
||||
defined(__aarch64__)
|
||||
|
||||
#define IS_64
|
||||
typedef PRUint64 SHA_HW_t;
|
||||
|
||||
@ -9,7 +9,8 @@
|
||||
defined (__ia64__) || \
|
||||
defined (__powerpc64__) || \
|
||||
defined (__s390x__) || \
|
||||
(defined (__sparc__) && defined(__arch64__))
|
||||
(defined (__sparc__) && defined(__arch64__)) || \
|
||||
defined(__aarch64__)
|
||||
|
||||
#define EXPECTED_LIB_FLATTENSIZE 248
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user