aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2012-02-21 17:59:01 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2012-02-21 17:59:01 +0000
commit438aa9711e641fa97266e5b5d778de1d8c87d09b (patch)
tree685bc83cb4f7ffaacb9a6774dcca63ceb6d72b74 /src
parent504f68f451a91882ec487f089a17cfa7a26f0c34 (diff)
downloadPROJ-438aa9711e641fa97266e5b5d778de1d8c87d09b.tar.gz
PROJ-438aa9711e641fa97266e5b5d778de1d8c87d09b.zip
try again to fix M_PI for MSVC
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2169 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src')
-rw-r--r--src/PJ_isea.c4
1 files changed, 4 insertions, 0 deletions
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 <stdlib.h>
#include <float.h>
+#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