From 09020c2f08df11179b93e6548117806a4c0d0d45 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Thu, 10 Jul 2014 09:14:56 -0700 Subject: [PATCH] Recognise __mips__ as a generic, 32-bit CPU. Change-Id: I60806486f40c5ac4c8fbb8371b83cb226113f4b5 --- crypto/base.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crypto/base.h b/crypto/base.h index a5ec844e..632d5512 100644 --- a/crypto/base.h +++ b/crypto/base.h @@ -71,6 +71,9 @@ #elif defined(__arm) || defined(__arm__) || defined(_M_ARM) #define OPENSSL_32_BIT #define OPENSSL_ARM +#elif defined(__mips__) +#define OPENSSL_32_BIT +#define OPENSSL_MIPS #else #error "Unknown target CPU" #endif