From ada31d92945b403a4dc5476b69f837f2990670f3 Mon Sep 17 00:00:00 2001 From: dismine Date: Thu, 28 Nov 2013 18:29:41 +0200 Subject: [PATCH] Use define _USE_MATH_DEFINES on Windows with MSVC. --HG-- branch : develop --- src/stable.h | 3 +++ 1 file changed, 3 insertions(+) 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