diff options
Diffstat (limited to 'src/qmldevtools/qtqmldevtoolsglobal_p.h')
-rw-r--r-- | src/qmldevtools/qtqmldevtoolsglobal_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qmldevtools/qtqmldevtoolsglobal_p.h b/src/qmldevtools/qtqmldevtoolsglobal_p.h index e1a01aa78d..5cb8a9275a 100644 --- a/src/qmldevtools/qtqmldevtoolsglobal_p.h +++ b/src/qmldevtools/qtqmldevtoolsglobal_p.h @@ -53,6 +53,10 @@ #include <QtCore/qglobal.h> +// All host systems are assumed to have alloca(). +#define Q_ALLOCA_VAR(type, name, size) \ + type *name = static_cast<type*>(alloca(size)) + QT_BEGIN_NAMESPACE #define Q_QML_EXPORT |