summaryrefslogtreecommitdiffstats
path: root/src/corelib/arch/qatomic_vxworks.h
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2012-02-13 06:49:56 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-13 22:15:40 +0100
commit605339a5dd3b9c5740927ad9af85bb6d0f94c5b7 (patch)
treec5f90affc107cd3f3ba73b520b09f4d604132909 /src/corelib/arch/qatomic_vxworks.h
parent5c5498ca0d2f8f1876836730b29a98e97a68487e (diff)
Remove qatomic_arch.h
Make qbasicatomic.h include the OS/compiler/processor dependent implementation. For implementations that have not yet been ported to declare a QAtomicOps, they need to #include <QtCore/qoldbasicatomic.h>, and the new QBasicAtomicInteger and QBasicAtomicPointer should not be declared. Change-Id: Ia951834484c9f8dfa75131592e5e716b68ff989b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/arch/qatomic_vxworks.h')
-rw-r--r--src/corelib/arch/qatomic_vxworks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/arch/qatomic_vxworks.h b/src/corelib/arch/qatomic_vxworks.h
index c18563ef3c..dbec16a540 100644
--- a/src/corelib/arch/qatomic_vxworks.h
+++ b/src/corelib/arch/qatomic_vxworks.h
@@ -48,6 +48,8 @@ QT_BEGIN_HEADER
# include <QtCore/qatomic_powerpc.h>
#else // generic implementation with taskLock()
+#include <QtCore/qoldbasicatomic.h>
+
#if 0
// we don't want to include the system header here for two function prototypes,
// because it pulls in a _lot_ of stuff that pollutes the global namespace