summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2013-10-26 19:05:31 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2013-10-26 19:05:31 -0500
commitb2c4901b3f31007aeec5d6428ef89f16b6535835 (patch)
treebf8874991de1e21c93a84f91bec39c6c35e06423 /Source/Core
parent41f6f6adc9b2013ee301b79d441c05028be35436 (diff)
Fixes GCC 4.9 compilation. It now supplies its own _mm_shuffle_epi8 intrinsic.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/Src/CommonFuncs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/CommonFuncs.h b/Source/Core/Common/Src/CommonFuncs.h
index daf135373e..0c886c782c 100644
--- a/Source/Core/Common/Src/CommonFuncs.h
+++ b/Source/Core/Common/Src/CommonFuncs.h
@@ -30,8 +30,8 @@ struct ArraySizeImpl : public std::extent<T>
#define b16(x) ( b8(x) | ( b8(x) >> 8) )
#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
+#if (defined __GNUC__ && !__GNUC_PREREQ(4,9)) \
+ && !defined __SSSE3__ && !defined _M_GENERIC
#include <emmintrin.h>
static __inline __m128i __attribute__((__always_inline__))
_mm_shuffle_epi8(__m128i a, __m128i mask)