summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-12-13 04:21:38 -0500
committerJeffrey Walton <noloader@gmail.com>2018-12-13 04:21:38 -0500
commit20f4d22055ef99c440b62963991359bc3ff6ef27 (patch)
tree8e5d2e4f9388da53958244ba57f24fdd0ce9b379 /config.h
parent0bdacf1496d51e6e99a98e7cd900443c6e8680c6 (diff)
downloadcryptopp-git-20f4d22055ef99c440b62963991359bc3ff6ef27.tar.gz
Fix compile on 32-bit MIPS (GH #761)
Testing on a ci20 dev-board with Debian 5 and GCC 4
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.h b/config.h
index 12bbe03f..8cf95908 100644
--- a/config.h
+++ b/config.h
@@ -461,6 +461,13 @@ NAMESPACE_END
#define CRYPTOPP_BOOL_PPC32 1
#endif
+// And MIPS. TODO: finish these defines
+#if defined(__mips64__)
+ #define CRYPTOPP_BOOL_MIPS64 1
+#elif defined(__mips__)
+ #define CRYPTOPP_BOOL_MIPS32 1
+#endif
+
#if defined(_MSC_VER) || defined(__BORLANDC__)
# define CRYPTOPP_MS_STYLE_INLINE_ASSEMBLY 1
#else