osrm-backend/scripts/geos/3.4.2/patch.diff
Patrick Niklaus f8dd965435 Squashed 'third_party/mason/' content from commit cf3561b
git-subtree-dir: third_party/mason
git-subtree-split: cf3561bf78cb146821dba3d95c308fc44db05f46
2016-12-15 10:31:15 +00:00

27 lines
634 B
Diff

diff --git a/configure b/configure
index eee34f8..808c020 100755
--- a/configure
+++ b/configure
@@ -16149,7 +16149,7 @@ fi
$as_echo "$dummy_cv_ansi" >&6; }
if test x"$dummy_cv_ansi" = xyes; then
- WARNFLAGS="$WARNFLAGS -ansi"
+ WARNFLAGS="$WARNFLAGS"
else
:
fi
diff --git a/include/geos/platform.h.in b/include/geos/platform.h.in
index ab63929..1bb2fae 100644
--- a/include/geos/platform.h.in
+++ b/include/geos/platform.h.in
@@ -84,7 +84,7 @@ extern "C"
#endif
#if defined(HAVE_ISNAN)
-# define ISNAN(x) (isnan(x))
+# define ISNAN(x) (std::isnan(x))
#else
# if defined(_MSC_VER)
# define ISNAN(x) _isnan(x)