VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Crypto/cpu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Crypto/cpu.h b/src/Crypto/cpu.h
index cddec05c..8856a3e2 100644
--- a/src/Crypto/cpu.h
+++ b/src/Crypto/cpu.h
@@ -208,8 +208,13 @@ int CpuId(uint32 input, uint32 *output);
// been enabled by DetectX86Features.
void DisableCPUExtendedFeatures ();
+#ifdef CRYPTOPP_BOOL_X64
+#define HasSSE2() 1
+#define HasISSE() 1
+#else
#define HasSSE2() g_hasSSE2
#define HasISSE() g_hasISSE
+#endif
#define HasMMX() g_hasMMX
#define HasSSE42() g_hasSSE42
#define HasSSE41() g_hasSSE41