From e718cde21ac2dd929c2dcd85c1b88db9a77b11cd Mon Sep 17 00:00:00 2001 From: strk Date: Mon, 20 Dec 2010 11:34:43 +0000 Subject: [PATCH] MinGW32 fixes by Sandro Furieri git-svn-id: http://svn.osgeo.org/geos/trunk@3160 5242fede-7e19-0410-aef8-94bd7d2200fb --- include/geos/platform.h.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/geos/platform.h.in b/include/geos/platform.h.in index a8963353..77ce9f79 100644 --- a/include/geos/platform.h.in +++ b/include/geos/platform.h.in @@ -88,6 +88,9 @@ extern "C" #else # if defined(_MSC_VER) # define ISNAN(x) _isnan(x) +# elif defined(__MINGW32__) +// sandro furieri: sanitizing MinGW32 +# define ISNAN(x) (std::isnan(x)) # elif defined(__OSX__) || defined(__APPLE__) // Hack for OS/X incorrectly re-defining isnan() into oblivion. // It does leave a version in std. -- 2.11.4.GIT