forked from pool/python-autobahn
* unit test fixes (#1634) * bump minimum twisted to 24.3.0 (#1635) * a couple of packaging fixes (#1632) * update license file to include contributors (#1628) * Random ID should beginning with 1 (#1637) - Drop patch fix-wamp-tests.patch, included upstream. - Add patch support-new-pytest-asyncio.patch: * Support even more pytest-asyncio. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=73
20 lines
533 B
Diff
20 lines
533 B
Diff
Index: autobahn-23.6.2/autobahn/nvx/_utf8validator.c
|
|
===================================================================
|
|
--- autobahn-23.6.2.orig/autobahn/nvx/_utf8validator.c
|
|
+++ autobahn-23.6.2/autobahn/nvx/_utf8validator.c
|
|
@@ -27,10 +27,14 @@
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
|
|
+#ifdef __s390__
|
|
+#include <s390intrin.h>
|
|
+#else
|
|
// http://stackoverflow.com/questions/11228855/header-files-for-simd-intrinsics
|
|
#if defined(__SSE2__) || defined(__SSE4_1__)
|
|
#include <x86intrin.h>
|
|
#endif
|
|
+#endif
|
|
|
|
|
|
#define UTF8_ACCEPT 0
|