diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2017-11-13 19:10:15 -0500 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2017-11-13 19:10:15 -0500 |
| commit | 91b8d85f4cca9b128e59abda541aa9b5d67d7ad1 (patch) | |
| tree | 1997fc8faf4e6f5c142bc57af49211552849ab8c /cpu.cpp | |
| parent | 4990129f0f2a0bb8c8a99a6d4bfddd1f4dea5d2b (diff) | |
| download | cryptopp-git-91b8d85f4cca9b128e59abda541aa9b5d67d7ad1.tar.gz | |
Fix SunCC compile with -xarch=sse2
Fix copy/paste messages in cryptest.sh
Diffstat (limited to 'cpu.cpp')
| -rw-r--r-- | cpu.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -48,6 +48,11 @@ unsigned long int getauxval(unsigned long int) { return 0; } # include <setjmp.h>
#endif
+// Needed by SunCC and MSVC
+#if (CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X64)
+# include <emmintrin.h>
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
#ifndef CRYPTOPP_MS_STYLE_INLINE_ASSEMBLY
|
