Use define _USE_MATH_DEFINES on Windows with MSVC.
--HG-- branch : develop
This commit is contained in:
parent
0837ada25e
commit
ada31d9294
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user