From f3cc3b25df6ce2dbc68caff54616cf104f12631f Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 14 Mar 2020 21:06:09 -0400 Subject: [PATCH] Fix compiling komodo_curve25519.h on ARMv8 --- src/komodo_curve25519.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_curve25519.h b/src/komodo_curve25519.h index cba40561b..fd65b9ae3 100644 --- a/src/komodo_curve25519.h +++ b/src/komodo_curve25519.h @@ -81,7 +81,7 @@ bits320 fexpand(bits256 basepoint) return(out); } -#if __amd64__ +#if defined(__amd64__) || defined(__aarch64) // donna: special gcc mode for 128-bit integers. It's implemented on 64-bit platforms only as far as I know. typedef unsigned uint128_t __attribute__((mode(TI)));