diff --git a/src/qchartglobal.h b/src/qchartglobal.h index 5f2e515..2e28f95 100644 --- a/src/qchartglobal.h +++ b/src/qchartglobal.h @@ -85,4 +85,11 @@ static inline QDebug chartDebug(int numargs,...) } #endif +/* + On Windows min and max conflict with standard macros +*/ +#ifdef Q_OS_WIN +#define NOMINMAX +#endif + #endif // QCHARTGLOBAL_H