diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-02-19 18:16:16 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-02-19 18:16:16 (GMT) |
commit | 8de064f6e96f960cdbfe6868d9957a4613f704df (patch) | |
tree | 4e73a420991733450d013529c0fee60e0365297a /abs/extra/dolphin-emu/dolphin-emu-gcc49.patch | |
parent | 0374b16f1e15ba1819b62bd5a6e0076ac7b243d0 (diff) | |
parent | 6fde8cd5e74f0840e01988e743464fe91c0a28f8 (diff) | |
download | linhes_pkgbuild-8de064f6e96f960cdbfe6868d9957a4613f704df.zip linhes_pkgbuild-8de064f6e96f960cdbfe6868d9957a4613f704df.tar.gz linhes_pkgbuild-8de064f6e96f960cdbfe6868d9957a4613f704df.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/extra/dolphin-emu/dolphin-emu-gcc49.patch')
-rwxr-xr-x | abs/extra/dolphin-emu/dolphin-emu-gcc49.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/extra/dolphin-emu/dolphin-emu-gcc49.patch b/abs/extra/dolphin-emu/dolphin-emu-gcc49.patch new file mode 100755 index 0000000..7431ce6 --- /dev/null +++ b/abs/extra/dolphin-emu/dolphin-emu-gcc49.patch @@ -0,0 +1,17 @@ +diff -rupN dolphin.orig/Source/Core/Common/Src/CommonFuncs.h dolphin/Source/Core/Common/Src/CommonFuncs.h +--- dolphin.orig/Source/Core/Common/Src/CommonFuncs.h 2014-08-19 02:36:05.555642000 +0200 ++++ dolphin/Source/Core/Common/Src/CommonFuncs.h 2014-08-19 02:38:44.301036700 +0200 +@@ -30,7 +30,12 @@ struct ArraySizeImpl : public std::exten + #define b32(x) (b16(x) | (b16(x) >>16) ) + #define ROUND_UP_POW2(x) (b32(x - 1) + 1) + +-#if defined __GNUC__ && !defined __SSSE3__ && !defined _M_GENERIC ++#ifndef __GNUC_PREREQ ++ #define __GNUC_PREREQ(a, b) 0 ++#endif ++ ++#if (defined __GNUC__ && !__GNUC_PREREQ(4,9)) && \ ++ !defined __SSSE3__ && defined _M_X86 + #include <emmintrin.h> + static __inline __m128i __attribute__((__always_inline__)) + _mm_shuffle_epi8(__m128i a, __m128i mask) |