2023-06-25 19:13:18 +00:00
|
|
|
Index: autobahn-23.6.2/autobahn/nvx/_utf8validator.c
|
2020-07-24 06:24:39 +00:00
|
|
|
===================================================================
|
2023-06-25 19:13:18 +00:00
|
|
|
--- autobahn-23.6.2.orig/autobahn/nvx/_utf8validator.c
|
|
|
|
|
+++ autobahn-23.6.2/autobahn/nvx/_utf8validator.c
|
|
|
|
|
@@ -27,10 +27,14 @@
|
2020-07-24 06:24:39 +00:00
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
+#ifdef __s390__
|
|
|
|
|
+#include <s390intrin.h>
|
|
|
|
|
+#else
|
|
|
|
|
// http://stackoverflow.com/questions/11228855/header-files-for-simd-intrinsics
|
2023-06-25 19:13:18 +00:00
|
|
|
#if defined(__SSE2__) || defined(__SSE4_1__)
|
2020-07-24 06:24:39 +00:00
|
|
|
#include <x86intrin.h>
|
2023-06-25 19:13:18 +00:00
|
|
|
#endif
|
2020-07-24 06:24:39 +00:00
|
|
|
+#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define UTF8_ACCEPT 0
|