aboutsummaryrefslogtreecommitdiff
path: root/ports/itpp/fix-linux.patch
diff options
context:
space:
mode:
authorGriffin Downs <35574547+grdowns@users.noreply.github.com>2019-06-05 13:42:16 -0700
committerGitHub <noreply@github.com>2019-06-05 13:42:16 -0700
commit35d78d5f76dfa4657dc64dd0468b44d01860346e (patch)
treed2feca0884f108271e0718cc0251ed30c0f299bb /ports/itpp/fix-linux.patch
parent311ac99e48d9b46b86d0e8022bd782c9d533c912 (diff)
parentaf4671ea6472409f47568cd0459d145cafdbb6b4 (diff)
downloadvcpkg-35d78d5f76dfa4657dc64dd0468b44d01860346e.tar.gz
vcpkg-35d78d5f76dfa4657dc64dd0468b44d01860346e.zip
Merge pull request #6672 from NancyLi1013/dev/NancyLi/6006
[itpp] Add new port
Diffstat (limited to 'ports/itpp/fix-linux.patch')
-rw-r--r--ports/itpp/fix-linux.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/itpp/fix-linux.patch b/ports/itpp/fix-linux.patch
new file mode 100644
index 000000000..5e7bb64c0
--- /dev/null
+++ b/ports/itpp/fix-linux.patch
@@ -0,0 +1,13 @@
+diff --git a/itpp/base/random_dsfmt.h b/itpp/base/random_dsfmt.h
+index ccbf182..a3d5472 100644
+--- a/itpp/base/random_dsfmt.h
++++ b/itpp/base/random_dsfmt.h
+@@ -299,7 +299,7 @@ private:
+ */
+ static void do_recursion(typename Context::w128_t *r, typename Context::w128_t *a, typename Context::w128_t *b, typename Context::w128_t *lung) {
+ #if defined(__SSE2__)
+- const unsigned int SSE2_SHUFF = 0x1bU;
++#define SSE2_SHUFF 0x1bU
+
+ __m128i x = a->si;
+ __m128i z = _mm_slli_epi64(x, SL1);