diff options
author | Jose Fonseca <[email protected]> | 2015-08-09 11:21:03 +0100 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2015-08-09 11:32:43 +0100 |
commit | eb643db30e1bdf5171d0a012674016c317925b6e (patch) | |
tree | 30843dc255560f6d589bc00710afa548e402c02e /src/gallium/include/pipe/p_config.h | |
parent | 512aa0647f328fff69b3ce328b6466f2da8b7c4d (diff) |
gallium: GCC 4.9 allows to include tmmintrin.h without -msse3.
Fixes build with MinGW x86_64 build with GCC 4.9, due to conflicting
definition _mm_shuffle_epi8 of u_sse.h and system headers.
Trivial.
Diffstat (limited to 'src/gallium/include/pipe/p_config.h')
-rw-r--r-- | src/gallium/include/pipe/p_config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h index 794aabe85f2..ac14f86fdc4 100644 --- a/src/gallium/include/pipe/p_config.h +++ b/src/gallium/include/pipe/p_config.h @@ -100,8 +100,8 @@ #else #define PIPE_ARCH_SSE #endif -#if defined(PIPE_CC_GCC) && !defined(__SSSE3__) -/* #warning SSE3 support requires -msse3 compiler options */ +#if defined(PIPE_CC_GCC) && (__GNUC__ * 100 + __GNUC_MINOR__) < 409 && !defined(__SSSE3__) +/* #warning SSE3 support requires -msse3 compiler options before GCC 4.9 */ #else #define PIPE_ARCH_SSSE3 #endif |