Skip to content

Commit

Permalink
Fix for bug #1854 qgisinterpolator.cpp causing build error on OS X
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11274 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Aug 5, 2009
1 parent c4511e0 commit fd86c81
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgis.h
Expand Up @@ -20,8 +20,8 @@
#define QGIS_H #define QGIS_H
#include <QEvent> #include <QEvent>
#include <QString> #include <QString>
#include <cmath>
#include <cfloat> #include <cfloat>

/** \ingroup core /** \ingroup core
* The QGis class provides global constants for use throughout the application. * The QGis class provides global constants for use throughout the application.
*/ */
Expand Down
4 changes: 4 additions & 0 deletions src/plugins/interpolation/MathUtils.h
Expand Up @@ -17,7 +17,11 @@
#ifndef MATHUTILS_H #ifndef MATHUTILS_H
#define MATHUTILS_H #define MATHUTILS_H


#ifndef Q_OS_MACX
#include <cmath> #include <cmath>
#else
#include <math.h>
#endif
#include "Vector3D.h" #include "Vector3D.h"
#include "Point3D.h" #include "Point3D.h"


Expand Down
4 changes: 4 additions & 0 deletions src/plugins/interpolation/Point3D.h
Expand Up @@ -17,7 +17,11 @@
#ifndef POINT3D_H #ifndef POINT3D_H
#define POINT3D_H #define POINT3D_H


#ifndef Q_OS_MACX
#include <cmath> #include <cmath>
#else
#include <math.h>
#endif
#include <iostream> #include <iostream>


/**Point3D is a class to represent a three dimensional point*/ /**Point3D is a class to represent a three dimensional point*/
Expand Down
4 changes: 4 additions & 0 deletions src/plugins/interpolation/Vector3D.h
Expand Up @@ -17,7 +17,11 @@
#ifndef VECTOR3D_H #ifndef VECTOR3D_H
#define VECTOR3D_H #define VECTOR3D_H


#ifndef Q_OS_MACX
#include <cmath> #include <cmath>
#else
#include <math.h>
#endif


class Vector3D class Vector3D
/** /**
Expand Down

0 comments on commit fd86c81

Please sign in to comment.