Skip to content

Commit

Permalink
Check for MIPSEB in target.h
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jan 28, 2025
1 parent 37c2b5e commit 5f581d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/openssl/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
#elif defined(__MIPSEL__) && defined(__LP64__)
#define OPENSSL_64_BIT
#define OPENSSL_MIPS64
#elif defined(__MIPSEB__) && !defined(__LP64__)
#define OPENSSL_32_BIT
#define OPENSSL_MIPS
#define OPENSSL_BIG_ENDIAN
#elif defined(__riscv) && __SIZEOF_POINTER__ == 8
#define OPENSSL_64_BIT
#define OPENSSL_RISCV64
Expand Down

0 comments on commit 5f581d0

Please sign in to comment.