aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/proj_math.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/proj_math.h b/src/proj_math.h
index 1bb0a94f..84c9b0da 100644
--- a/src/proj_math.h
+++ b/src/proj_math.h
@@ -44,6 +44,9 @@ int pj_isnan(double x);
#define hypot pj_hypot
#define log1p pj_log1p
#define asinh pj_asinh
+#ifdef isnan
+#undef isnan
+#endif
#define isnan pj_isnan
#endif /* !(defined(HAVE_C99_MATH) && HAVE_C99_MATH) */