diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-02-05 13:14:23 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-08 12:33:26 +0100 |
commit | 43a6739beb19d33aa1b0b2920bc2fe2c0356194a (patch) | |
tree | e9cc7d69f3c1db1a6950e6d6bfed3defb7e34272 /src/corelib/arch/qatomic_mips.h | |
parent | eebc124f4c7fd28b3e8da327dcfcda354712cce3 (diff) |
Use Q_PROCESSOR_* when chosing an atomic implementation
Use the new Q_PROCESSOR_* macros to decide which headers to include in
the atomic implementation. This also removes qatomic_arm.h, which isn't
needed anymore, just select the correct qatomic_armv*.h from
qbasicatomic.h
Change-Id: I954848feafb8c420949d066ffcee1dd2b271e13b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/arch/qatomic_mips.h')
-rw-r--r-- | src/corelib/arch/qatomic_mips.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/arch/qatomic_mips.h b/src/corelib/arch/qatomic_mips.h index af6e93d06e..39119ba411 100644 --- a/src/corelib/arch/qatomic_mips.h +++ b/src/corelib/arch/qatomic_mips.h @@ -227,7 +227,7 @@ T QBasicAtomicOps<4>::fetchAndAddRelaxed(T &_q_value, typename QAtomicAdditiveTy return originalValue; } -#if defined(_MIPS_ARCH_MIPS64) || defined(__mips64) +#if defined(Q_PROCESSOR_MIPS_64) #define Q_ATOMIC_INT64_IS_SUPPORTED #define Q_ATOMIC_INT64_REFERENCE_COUNTING_IS_ALWAYS_NATIVE |