Use define _USE_MATH_DEFINES on Windows with MSVC.

--HG--
branch : develop
This commit is contained in:
dismine 2013-11-28 18:29:41 +02:00
parent 0837ada25e
commit ada31d9294

View File

@ -38,6 +38,9 @@ were in use. */
#if defined __cplusplus
/* Add C++ includes here */
#ifdef Q_CC_MSVC
#define _USE_MATH_DEFINES
#endif
#include <QtCore>
#include <QApplication>
#include <QtGlobal>