1 parent 74da47e commit 4d0c7d7Copy full SHA for 4d0c7d7
1 file changed
include/simdjson/portability.h
@@ -15,6 +15,20 @@
15
#define IS_ARM64 1
16
#endif
17
18
+#if (!defined(IS_X86_64)) && (!defined(IS_ARM64))
19
+#if _MSC_VER
20
+#pragma message("The simdjson library is designed\
21
+ for 64-bit processors and it seems that you are not\
22
+compiling for a known 64-bit platform. All fast kernels\
23
+will be disabled and performance may be poor. Please\
24
+use a 64-bt target such as x64 or 64-bit ARM.")
25
+#else
26
+#error "The simdjson library is designed\
27
+ for 64-bit processors. It seems that you are not\
28
+compiling for a known 64-bit platform."
29
+#endif
30
+#endif // (!defined(IS_X86_64)) && (!defined(IS_ARM64))
31
+
32
// this is almost standard?
33
#undef STRINGIFY_IMPLEMENTATION_
34
#undef STRINGIFY
0 commit comments