summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper_p.h
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-31 11:18:39 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-31 13:45:34 (GMT)
commitc9459fed5a3c57fea8705979064b9c028bfdaa72 (patch)
tree1733b0610f14afb16d03605c02779b255ea32934 /src/gui/painting/qdrawhelper_p.h
parent69d43435f241f0d654b1a3eecdfdfc5140f6beac (diff)
downloadQt-c9459fed5a3c57fea8705979064b9c028bfdaa72.zip
Qt-c9459fed5a3c57fea8705979064b9c028bfdaa72.tar.gz
Qt-c9459fed5a3c57fea8705979064b9c028bfdaa72.tar.bz2
Undefined SSE symbols when crosscompiling Qt on PPC.
Qt does not build on PowerPC when compiling for both x86 and PPC on Mac. The compiler is invoked only once for both architecture so the defines are there in order to get the optimized path for x86. Those defines needs to be removed from the compilation environment when the target is set to PPC by GCC. Reviewed-by: Kent Hansen
Diffstat (limited to 'src/gui/painting/qdrawhelper_p.h')
-rw-r--r--src/gui/painting/qdrawhelper_p.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/painting/qdrawhelper_p.h b/src/gui/painting/qdrawhelper_p.h
index 75f42a0..5747da5 100644
--- a/src/gui/painting/qdrawhelper_p.h
+++ b/src/gui/painting/qdrawhelper_p.h
@@ -62,6 +62,7 @@
#define QT_FT_END_HEADER
#endif
#include "private/qrasterdefs_p.h"
+#include <private/qsimd_p.h>
#ifdef Q_WS_QWS
#include "QtGui/qscreen_qws.h"
@@ -69,13 +70,6 @@
QT_BEGIN_NAMESPACE
-#if defined(Q_OS_MAC) && (defined(__ppc__) || defined(__ppc64__))
-#undef QT_HAVE_MMX
-#undef QT_HAVE_SSE
-#undef QT_HAVE_SSE2
-#undef QT_HAVE_3DNOW
-#endif
-
#if defined(Q_CC_MSVC) && _MSCVER <= 1300 && !defined(Q_CC_INTEL)
#define Q_STATIC_TEMPLATE_SPECIALIZATION static
#else