diff --git a/include/openssl/target.h b/include/openssl/target.h index eb794f8a5a..a3582c0f18 100644 --- a/include/openssl/target.h +++ b/include/openssl/target.h @@ -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