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

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Feb 25 03:11:22 PST 2013


Author: strk
Date: 2013-02-25 03:11:22 -0800 (Mon, 25 Feb 2013)
New Revision: 3771

Modified:
   trunk/include/geos/platform.h.in
Log:
Fix build under cygwin (#595)

Thanks Jason Huntley

Modified: trunk/include/geos/platform.h.in
===================================================================
--- trunk/include/geos/platform.h.in	2013-02-25 11:04:23 UTC (rev 3770)
+++ trunk/include/geos/platform.h.in	2013-02-25 11:11:22 UTC (rev 3771)
@@ -88,7 +88,7 @@
 #else
 # if defined(_MSC_VER)
 #  define ISNAN(x) _isnan(x)
-# elif defined(__MINGW32__)
+# elif defined(__MINGW32__) || defined(__CYGWIN__)
 // sandro furieri: sanitizing MinGW32
 #  define ISNAN(x) (std::isnan(x))
 # elif defined(__OSX__) || defined(__APPLE__)



More information about the geos-commits mailing list