diff --git a/src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c b/src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c index 9e3fb1b2..9a7f9825 100644 --- a/src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c +++ b/src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c @@ -189,7 +189,7 @@ fsquare_times(felem output, const felem in, limb count) { output[4] = r4; } -#ifndef CPU_ALIGNED_ACCESS_REQUIRED +#if !defined(CPU_ALIGNED_ACCESS_REQUIRED) && defined(NATIVE_LITTLE_ENDIAN) # define U8TO64(p) (*((const uint64_t *) (p))) # define U64TO8(p, v) (*((uint64_t *) (p)) = (v)) #else