summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Hash.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2020-02-12 00:07:56 +0100
committerspycrab <spycrab@users.noreply.github.com>2020-02-12 12:29:31 +0100
commit213a9adcffe33c9a15993a31d142d74d2b4cc128 (patch)
treebb448fdeac82c97d678f0a4965ad44290e9ceb71 /Source/Core/Common/Hash.cpp
parenta9dc4ac3f0eb692fb0c18cf3b5bd513c909117db (diff)
CMake: Fix building ARM64 on Windows
Diffstat (limited to 'Source/Core/Common/Hash.cpp')
-rw-r--r--Source/Core/Common/Hash.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Core/Common/Hash.cpp b/Source/Core/Common/Hash.cpp
index ea2375f3c7..525f0b21e2 100644
--- a/Source/Core/Common/Hash.cpp
+++ b/Source/Core/Common/Hash.cpp
@@ -11,9 +11,13 @@
#include "Common/CommonFuncs.h"
#include "Common/Intrinsics.h"
-#if defined(_M_ARM_64) && !defined(_MSC_VER)
+#ifdef _M_ARM_64
+#ifdef _MSC_VER
+#include <intrin.h>
+#else
#include <arm_acle.h>
#endif
+#endif
namespace Common
{