diff options
-rw-r--r-- | src/qchartglobal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qchartglobal.h b/src/qchartglobal.h index 2e28f956..b74d32ab 100644 --- a/src/qchartglobal.h +++ b/src/qchartglobal.h @@ -89,7 +89,9 @@ static inline QDebug chartDebug(int numargs,...) On Windows min and max conflict with standard macros */ #ifdef Q_OS_WIN +#ifndef NOMINMAX #define NOMINMAX #endif +#endif #endif // QCHARTGLOBAL_H |