diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-07-31 15:26:46 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-07-31 15:26:46 +0000 |
| commit | 453f7c67cde5a56c8c95386cb7047495cefb2eca (patch) | |
| tree | cfb9011d87e02966369df59bebc44cae79235952 /Source/Core/VideoCommon | |
| parent | 4d27ecf736470c05815888d062b93f0218f00681 (diff) | |
Newer versions of GCC's <tmmintrin.h> check for __SSSE3__ (-mssse3).
No matter. We don't actually need it for our purposes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6016 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
5 files changed, 5 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp index 0414c0e9fb..9b5baae5ec 100644 --- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp +++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp @@ -33,7 +33,7 @@ #if _M_SSE >= 0x401 #include <smmintrin.h> -#elif _M_SSE >= 0x301 +#elif _M_SSE >= 0x301 && !(defined __GNUC__ && !defined __SSSE3__) #include <tmmintrin.h> #endif diff --git a/Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp b/Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp index 225713a335..c76cf1246c 100644 --- a/Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp +++ b/Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp @@ -22,7 +22,7 @@ #include "NativeVertexWriter.h" #include "CPUDetect.h" -#if _M_SSE >= 0x301 +#if _M_SSE >= 0x301 && !(defined __GNUC__ && !defined __SSSE3__) #include <tmmintrin.h> #endif diff --git a/Source/Core/VideoCommon/Src/VertexLoader_Normal.h b/Source/Core/VideoCommon/Src/VertexLoader_Normal.h index 26cd1c300d..cc4cd449c6 100644 --- a/Source/Core/VideoCommon/Src/VertexLoader_Normal.h +++ b/Source/Core/VideoCommon/Src/VertexLoader_Normal.h @@ -18,6 +18,7 @@ #ifndef _VERTEXLOADER_NORMAL_H #define _VERTEXLOADER_NORMAL_H +#include "Common.h" #include "CommonTypes.h" class VertexLoader_Normal diff --git a/Source/Core/VideoCommon/Src/VertexLoader_Position.cpp b/Source/Core/VideoCommon/Src/VertexLoader_Position.cpp index 594bdcb5a0..1ff74113ac 100644 --- a/Source/Core/VideoCommon/Src/VertexLoader_Position.cpp +++ b/Source/Core/VideoCommon/Src/VertexLoader_Position.cpp @@ -22,7 +22,7 @@ #include "NativeVertexWriter.h" #include "CPUDetect.h" -#if _M_SSE >= 0x301 +#if _M_SSE >= 0x301 && !(defined __GNUC__ && !defined __SSSE3__) #include <tmmintrin.h> #endif diff --git a/Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp b/Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp index 08b5f706b1..ae4b8c668a 100644 --- a/Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp +++ b/Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp @@ -24,7 +24,7 @@ #if _M_SSE >= 0x401 #include <smmintrin.h> -#elif _M_SSE >= 0x301 +#elif _M_SSE >= 0x301 && !(defined __GNUC__ && !defined __SSSE3__) #include <tmmintrin.h> #endif |
