Skip to content

Commit

Permalink
Add Little-endian PPC64 definition to base.h
Browse files Browse the repository at this point in the history
  • Loading branch information
erichte-ibm committed Nov 14, 2022
1 parent 450ada2 commit 61dc195
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/ring-core/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61dc195

Please sign in to comment.