[MSVC] add include for M_PI_2

This commit is contained in:
Juergen E. Fischer 2016-05-23 10:18:58 +02:00
parent 75c76f51f1
commit 61693b8d3a

View File

@ -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;