From 161d5eb3239b52e6f19942721491f2632305e426 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sun, 31 Jul 2011 18:25:24 -0300 Subject: Port the bootstrap atomics to the new QBasicAtomic architecture The code is now much simpler and much more complete. Now the bootstrap atomics (which aren't atomic at all) contain the full set of operations. The only integer supported is int, but all others would work too. Change-Id: Id99f07818f9da059c4ff02520f9cbf2d1a71a514 Reviewed-by: Bradley T. Hughes Reviewed-by: Olivier Goffart Reviewed-by: Thiago Macieira --- src/corelib/thread/qoldbasicatomic.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/corelib/thread/qoldbasicatomic.h') diff --git a/src/corelib/thread/qoldbasicatomic.h b/src/corelib/thread/qoldbasicatomic.h index 0842bf5f4c..96feb2e491 100644 --- a/src/corelib/thread/qoldbasicatomic.h +++ b/src/corelib/thread/qoldbasicatomic.h @@ -171,10 +171,6 @@ public: QT_END_NAMESPACE QT_END_HEADER -#if defined(QT_MOC) || defined(QT_BUILD_QMAKE) || defined(QT_RCC) || defined(QT_UIC) || defined(QT_BOOTSTRAPPED) -# include -#else # include -#endif #endif // QBASIC_ATOMIC -- cgit v1.2.3