diff --git a/src/stable.h b/src/stable.h index bcc23a610..09cd50c93 100644 --- a/src/stable.h +++ b/src/stable.h @@ -38,6 +38,9 @@ were in use. */ #if defined __cplusplus /* Add C++ includes here */ +#ifdef Q_CC_MSVC +#define _USE_MATH_DEFINES +#endif #include #include #include