[QGIS Commit] r10256 - trunk/qgis/src/plugins/interpolation
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Mar 2 15:43:23 EST 2009
Author: jef
Date: 2009-03-02 15:43:20 -0500 (Mon, 02 Mar 2009)
New Revision: 10256
Modified:
trunk/qgis/src/plugins/interpolation/qgsinterpolator.cpp
Log:
fix compile error on OSX
Modified: trunk/qgis/src/plugins/interpolation/qgsinterpolator.cpp
===================================================================
--- trunk/qgis/src/plugins/interpolation/qgsinterpolator.cpp 2009-03-02 20:30:13 UTC (rev 10255)
+++ trunk/qgis/src/plugins/interpolation/qgsinterpolator.cpp 2009-03-02 20:43:20 UTC (rev 10256)
@@ -18,7 +18,11 @@
#include "qgsinterpolator.h"
#include "qgsvectordataprovider.h"
#include "qgsgeometry.h"
+#ifndef Q_OS_MACX
#include <cmath>
+#else
+#include <math.h>
+#endif
#ifdef _MSC_VER
#include <float.h>
#define isnan(f) _isnan(f)
More information about the QGIS-commit
mailing list