mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
[MSVC] add include for M_PI_2
This commit is contained in:
parent
75c76f51f1
commit
61693b8d3a
@ -21,6 +21,12 @@ email : marco.hugentobler at sourcepole dot com
|
||||
#include "qgswkbtypes.h"
|
||||
#include "qgswkbptr.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// for M_PI_2
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <math.h>
|
||||
#endif
|
||||
|
||||
#include <QString>
|
||||
|
||||
class QgsMapToPixel;
|
||||
|
Loading…
x
Reference in New Issue
Block a user