diff --git a/include/ring-core/base.h b/include/ring-core/base.h index f1a027d1a4..dd9a6727c2 100644 --- a/include/ring-core/base.h +++ b/include/ring-core/base.h @@ -91,6 +91,9 @@ #define OPENSSL_MIPS64 #elif defined(__wasm__) #define OPENSSL_32_BIT +#elif (defined(__PPC64__) || defined(__powerpc64__)) && defined(_LITTLE_ENDIAN) +#define OPENSSL_64_BIT +#define OPENSSL_PPC64LE #else // Note BoringSSL only supports standard 32-bit and 64-bit two's-complement, // little-endian architectures. Functions will not produce the correct answer