aboutsummaryrefslogtreecommitdiff
path: root/c/blake3_dispatch.c
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2024-08-19 09:41:40 -0700
committerJack O'Connor <[email protected]>2024-08-19 09:41:40 -0700
commit4cc34b0e85002f6fef3cd8b264343172cfbc9f58 (patch)
tree7f83da1adff0a231946b7180531229a28686f542 /c/blake3_dispatch.c
parentdcff6b65acdd978863512c2d9c1359aef2564ea4 (diff)
defined(__unix__) -> !defined(_WIN32)
Diffstat (limited to 'c/blake3_dispatch.c')
-rw-r--r--c/blake3_dispatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/blake3_dispatch.c b/c/blake3_dispatch.c
index 5c76b14..f04f5a0 100644
--- a/c/blake3_dispatch.c
+++ b/c/blake3_dispatch.c
@@ -234,7 +234,7 @@ void blake3_xof_many(const uint32_t cv[8],
}
#if defined(IS_X86)
const enum cpu_feature features = get_cpu_features();
-#if defined(__unix__) && !defined(BLAKE3_NO_AVX512)
+#if !defined(_WIN32) && !defined(BLAKE3_NO_AVX512)
if (features & AVX512VL) {
blake3_xof_many_avx512(cv, block, block_len, counter, flags, out, outblocks);
return;