Skip to content

Commit 599a16b

Browse files
author
jef
committed
fix compile error on OSX
git-svn-id: http://svn.osgeo.org/qgis/trunk@10256 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 3b51848 commit 599a16b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/plugins/interpolation/qgsinterpolator.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
#include "qgsinterpolator.h"
1919
#include "qgsvectordataprovider.h"
2020
#include "qgsgeometry.h"
21+
#ifndef Q_OS_MACX
2122
#include <cmath>
23+
#else
24+
#include <math.h>
25+
#endif
2226
#ifdef _MSC_VER
2327
#include <float.h>
2428
#define isnan(f) _isnan(f)

0 commit comments

Comments
 (0)