From 453f7c67cde5a56c8c95386cb7047495cefb2eca Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Sat, 31 Jul 2010 15:26:46 +0000 Subject: [PATCH] Newer versions of GCC's 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 --- Source/Core/VideoCommon/Src/TextureDecoder.cpp | 2 +- Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp | 2 +- Source/Core/VideoCommon/Src/VertexLoader_Normal.h | 1 + Source/Core/VideoCommon/Src/VertexLoader_Position.cpp | 2 +- Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp | 2 +- 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 -#elif _M_SSE >= 0x301 +#elif _M_SSE >= 0x301 && !(defined __GNUC__ && !defined __SSSE3__) #include #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 #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 #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 -#elif _M_SSE >= 0x301 +#elif _M_SSE >= 0x301 && !(defined __GNUC__ && !defined __SSSE3__) #include #endif