summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-11-13 16:03:27 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-11-13 16:03:27 (GMT)
commit149b13bdec3802a80e86a0de77837d7e9cbab8af (patch)
tree41a76edb43874b11d36f53c745a3e40393feb52f /src/corelib/global/qglobal.h
parentcf44101e03eb33caa7c37fbd8023c2948b7f0249 (diff)
parent0c52573b646d8f139f37c26c954d03061ddb485a (diff)
downloadQt-149b13bdec3802a80e86a0de77837d7e9cbab8af.zip
Qt-149b13bdec3802a80e86a0de77837d7e9cbab8af.tar.gz
Qt-149b13bdec3802a80e86a0de77837d7e9cbab8af.tar.bz2
Merge branch '4.6'
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r--src/corelib/global/qglobal.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index b58c9dd..e2c524d 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -437,13 +437,18 @@ namespace QT_NAMESPACE {}
#elif defined(__GCCE__)
# define Q_CC_GCCE
# define QT_VISIBILITY_AVAILABLE
+# if defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__)
+# define QT_HAVE_ARMV6
+# endif
/* ARM Realview Compiler Suite
RVCT compiler also defines __EDG__ and __GNUC__ (if --gnu flag is given),
so check for it before that */
#elif defined(__ARMCC__) || defined(__CC_ARM)
# define Q_CC_RVCT
-
+# if __TARGET_ARCH_ARM >= 6
+# define QT_HAVE_ARMV6
+# endif
#elif defined(__GNUC__)
# define Q_CC_GNU
# define Q_C_CALLBACKS