summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-07-31 15:26:46 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-07-31 15:26:46 +0000
commit453f7c67cde5a56c8c95386cb7047495cefb2eca (patch)
treecfb9011d87e02966369df59bebc44cae79235952 /Source/Core/VideoCommon
parent4d27ecf736470c05815888d062b93f0218f00681 (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')
-rw-r--r--Source/Core/VideoCommon/Src/TextureDecoder.cpp2
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp2
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoader_Normal.h1
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoader_Position.cpp2
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp2
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