Clean up some QT_HAVE_xxx macros in qcompilerdetection.h
authorThiago Macieira <thiago.macieira@intel.com>
Wed, 16 May 2012 15:43:23 +0000 (17:43 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 18 May 2012 08:33:56 +0000 (10:33 +0200)
commit6d7b003ac8381cf2af6ebcd255786d8e3afd21b8
tree8d4ab071330177d56ecba3a520d03edcdb531f5c
parent50f4e6ba8ada4e0cc34448ff22ec38d7405b6885
Clean up some QT_HAVE_xxx macros in qcompilerdetection.h

We no longer have code doing MMX or 3dNow! on Qt 5, so nothing defines
those macros. If nothing defines them, we don't need to undef
them. Note that the SSE case is a mislabel: the old "SSE" code on Qt 4
wasn't real SSE, it was MMX with some instructions added at the same
time as SSE was added. It's MMX that Windows 64 doesn't support.

As for QT_HAVE_ARMV6, this macro is replaced by the sub-arch detection
in qprocessordetection.h.

Change-Id: Ic3b00e1533e6b4cea32ba7824233de0a5c0fb32b
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/corelib/global/qcompilerdetection.h
src/gui/painting/qdrawhelper.cpp