diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-12-13 04:21:38 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-12-13 04:21:38 -0500 |
commit | 20f4d22055ef99c440b62963991359bc3ff6ef27 (patch) | |
tree | 8e5d2e4f9388da53958244ba57f24fdd0ce9b379 /config.h | |
parent | 0bdacf1496d51e6e99a98e7cd900443c6e8680c6 (diff) | |
download | cryptopp-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.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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
|