We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 484cb79 commit 31b124cCopy full SHA for 31b124c
1 file changed
src/generator/c/templates/source.c.j2
@@ -28,10 +28,14 @@
28
29
{% if fs.extensions | length > 0 -%}
30
#if defined(__x86_64__) || defined(__i386__) || defined(_M_IX86) || defined(_M_X64)
31
-# define XXH_VECTOR XXH_SSE2
+# ifndef XXH_VECTOR
32
+# define XXH_VECTOR XXH_SSE2
33
+# #endif
34
# include <immintrin.h>
35
#elif defined(__aarch64__) || defined(__arm__) || defined(_M_ARM) || defined(_M_ARM64)
-# define XXH_VECTOR XXH_NEON
36
37
+# define XXH_VECTOR XXH_NEON
38
39
# include <arm_neon.h>
40
#endif
41
#ifndef GLOAM_EXTERNAL_XXHASH
0 commit comments