[geos-commits] r3160 - trunk/include/geos

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Dec 20 06:34:43 EST 2010


Author: strk
Date: 2010-12-20 03:34:43 -0800 (Mon, 20 Dec 2010)
New Revision: 3160

Modified:
   trunk/include/geos/platform.h.in
Log:
MinGW32 fixes by Sandro Furieri

Modified: trunk/include/geos/platform.h.in
===================================================================
--- trunk/include/geos/platform.h.in	2010-12-20 11:16:22 UTC (rev 3159)
+++ trunk/include/geos/platform.h.in	2010-12-20 11:34:43 UTC (rev 3160)
@@ -88,6 +88,9 @@
 #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 <cmath> incorrectly re-defining isnan() into oblivion.
    // It does leave a version in std.



More information about the geos-commits mailing list