diff --git a/qwt/src/qwt_transform.h b/qwt/src/qwt_transform.h index ce13fa66f..22d5ae05c 100644 --- a/qwt/src/qwt_transform.h +++ b/qwt/src/qwt_transform.h @@ -94,6 +94,12 @@ public: has no effect on the mapping. So QwtLogTransform can be used for log2(), log10() or any other logarithmic scale. */ + +#ifndef QT_STATIC_CONST +#define QT_STATIC_CONST static const +#define QT_STATIC_CONST_IMPL const +#endif + class QWT_EXPORT QwtLogTransform: public QwtTransform { public: