aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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