Disable the Q_PROCESSOR_xxx macros in Qt 5.0

We don't want to redefine, we just need what Qt 5 already has.

Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Thiago Macieira 2014-06-15 13:57:21 -07:00 committed by Dirk Hohndel
parent ee11e1540e
commit 44f872cc59

View file

@ -45,6 +45,7 @@
#include <QtGlobal>
#if QT_VERSION < 0x050000
#if defined(__arm__) || defined(__TARGET_ARCH_ARM) || defined(_M_ARM) || defined(__arm64__)
# define Q_PROCESSOR_ARM
# if defined(__arm64__)
@ -197,6 +198,7 @@
# define Q_PROCESSOR_WORDSIZE QT_POINTER_SIZE
# endif
#endif
#endif // Qt < 5.0.0
class QString;
class SubsurfaceSysInfo {