aboutsummaryrefslogtreecommitdiff
path: root/c/blake3_dispatch.c
diff options
context:
space:
mode:
authorJavier Blazquez <[email protected]>2024-04-06 17:30:49 -0700
committerJack O'Connor <[email protected]>2024-04-07 11:48:02 -0400
commit0816badf3ada3ec48e712dd4f4cbc2cd60828278 (patch)
treeeda61f37a5b208a415ad03f1e3d2d2656ba86028 /c/blake3_dispatch.c
parent4ec3be8bfa6574fcd30619741390847ddc037d55 (diff)
fix Windows ARM64 build and detect ARM64EC as ARM64
Diffstat (limited to 'c/blake3_dispatch.c')
-rw-r--r--c/blake3_dispatch.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/c/blake3_dispatch.c b/c/blake3_dispatch.c
index af6c3da..c9abc13 100644
--- a/c/blake3_dispatch.c
+++ b/c/blake3_dispatch.c
@@ -4,9 +4,12 @@
#include "blake3_impl.h"
-#if defined(IS_X86)
#if defined(_MSC_VER)
#include <Windows.h>
+#endif
+
+#if defined(IS_X86)
+#if defined(_MSC_VER)
#include <intrin.h>
#elif defined(__GNUC__)
#include <immintrin.h>