#include <QtCore/qatomic.h> #ifndef QATOMIC_H template < typename T > inline T qAtomicSetPtr(T volatile * ptr, T newval); #endif // QATOMIC_H