Skip to content
Permalink
Browse files

[MSVC] add include for M_PI_2

  • Loading branch information
jef-n committed May 23, 2016
1 parent 75c76f5 commit 61693b8d3a5dc6bdf171fde1ba5d34167ec84e98
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/core/geometry/qgsabstractgeometryv2.h
@@ -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;

0 comments on commit 61693b8

Please sign in to comment.
You can’t perform that action at this time.