diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2020-02-13 20:31:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-13 20:31:49 +0100 |
| commit | d2b79df40b1e1c31ef8057a8e6600a6e1eb3f852 (patch) | |
| tree | bb448fdeac82c97d678f0a4965ad44290e9ceb71 /Source/Core/Common/Hash.cpp | |
| parent | a9dc4ac3f0eb692fb0c18cf3b5bd513c909117db (diff) | |
| parent | 213a9adcffe33c9a15993a31d142d74d2b4cc128 (diff) | |
Merge pull request #8627 from spycrab/cmake_vs_arm
CMake: Fix building ARM64 on Windows
Diffstat (limited to 'Source/Core/Common/Hash.cpp')
| -rw-r--r-- | Source/Core/Common/Hash.cpp | 6 |
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 { |
