]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/itpp/fix-linux.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / itpp / fix-linux.patch
CommitLineData
1e59de90
TL
1diff --git a/itpp/base/random_dsfmt.h b/itpp/base/random_dsfmt.h
2index ccbf182..de819fb 100644
3--- a/itpp/base/random_dsfmt.h
4+++ b/itpp/base/random_dsfmt.h
5@@ -299,7 +299,12 @@ private:
6 */
7 static void do_recursion(typename Context::w128_t *r, typename Context::w128_t *a, typename Context::w128_t *b, typename Context::w128_t *lung) {
8 #if defined(__SSE2__)
9+
10+#ifdef __linux__
11+#define SSE2_SHUFF 0x1bU
12+#else
13 const unsigned int SSE2_SHUFF = 0x1bU;
14+#endif
15
16 __m128i x = a->si;
17 __m128i z = _mm_slli_epi64(x, SL1);