From 438aa9711e641fa97266e5b5d778de1d8c87d09b Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Tue, 21 Feb 2012 17:59:01 +0000 Subject: try again to fix M_PI for MSVC git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2169 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- src/PJ_isea.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/PJ_isea.c b/src/PJ_isea.c index 14404cb2..09f1d33c 100644 --- a/src/PJ_isea.c +++ b/src/PJ_isea.c @@ -8,6 +8,10 @@ #include #include +#ifndef M_PI +# define M_PI 3.14159265358979323846 +#endif + /* * Proj 4 provides its own entry points into * the code, so none of the library functions -- cgit v1.2.3