#include <QtCore/qglobal.h>
#ifndef QGLOBAL_H
#if defined(__cplusplus)
#if defined(QT_NO_THREAD)
#else
#define Q_GLOBAL_STATIC_WITH_ARGS(TYPE,NAME,ARGS) static TYPE *NAME() { static QGlobalStatic<TYPE > this_ ##NAME; if (!this_ ##NAME.pointer && !this_ ##NAME.destroyed) { TYPE *x = new TYPE ARGS; if (!q_atomic_test_and_set_ptr(&this_ ##NAME.pointer, 0, x)) delete x; } return this_ ##NAME.pointer; }

#endif
#endif /* __cplusplus */
#endif /* QGLOBAL_H */