summaryrefslogtreecommitdiffstats
path: root/src/corelib/arch
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-10-01 16:38:01 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-11-01 16:01:19 (GMT)
commitf293b98de2b08abf9fe083db9f9a299c87608f35 (patch)
tree92ccaa678d29d738170a97351b36ad51eaee1e30 /src/corelib/arch
parent9df6404fc9d11b0e56ff3ff657eb136f46f32fb4 (diff)
downloadQt-f293b98de2b08abf9fe083db9f9a299c87608f35.zip
Qt-f293b98de2b08abf9fe083db9f9a299c87608f35.tar.gz
Qt-f293b98de2b08abf9fe083db9f9a299c87608f35.tar.bz2
Silence preprocessor warnings about __TARGET_ARCH_ARM not being defined.
Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'src/corelib/arch')
-rw-r--r--src/corelib/arch/qatomic_arm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/arch/qatomic_arm.h b/src/corelib/arch/qatomic_arm.h
index 1c1c8a5..0513af2 100644
--- a/src/corelib/arch/qatomic_arm.h
+++ b/src/corelib/arch/qatomic_arm.h
@@ -59,7 +59,7 @@ QT_END_INCLUDE_HEADER
|| defined(__ARM_ARCH_6K__) \
|| defined(__ARM_ARCH_6ZK__) \
|| defined(__ARM_ARCH_6M__) \
- || (__TARGET_ARCH_ARM-0 >= 6)
+ || (defined(__TARGET_ARCH_ARM) && (__TARGET_ARCH_ARM-0 >= 6))
# define QT_ARCH_ARMV6
QT_BEGIN_INCLUDE_HEADER
# include "QtCore/qatomic_armv6.h"