summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/include/openssl/base.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/openssl/base.h b/src/include/openssl/base.h
index 71223a0..d73f269 100644
--- a/src/include/openssl/base.h
+++ b/src/include/openssl/base.h
@@ -82,9 +82,12 @@ extern "C" {
#elif defined(__aarch64__)
#define OPENSSL_64_BIT
#define OPENSSL_AARCH64
-#elif defined(__mips__)
+#elif defined(__mips__) && !defined(__LP64__)
#define OPENSSL_32_BIT
#define OPENSSL_MIPS
+#elif defined(__mips__) && defined(__LP64__)
+#define OPENSSL_64_BIT
+#define OPENSSL_MIPS64
#elif defined(__pnacl__)
#define OPENSSL_32_BIT
#define OPENSSL_PNACL