From f293b98de2b08abf9fe083db9f9a299c87608f35 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 1 Oct 2010 18:38:01 +0200 Subject: Silence preprocessor warnings about __TARGET_ARCH_ARM not being defined. Reviewed-by: Bradley T. Hughes --- src/corelib/arch/qatomic_arm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v0.12