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

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Jan 29 15:30:50 EST 2010


Author: pramsey
Date: 2010-01-29 15:30:49 -0500 (Fri, 29 Jan 2010)
New Revision: 2894

Modified:
   trunk/include/geos/platform.h.in
Log:
Extend support of Apple ISNAN case to newer? compilers


Modified: trunk/include/geos/platform.h.in
===================================================================
--- trunk/include/geos/platform.h.in	2010-01-29 17:42:07 UTC (rev 2893)
+++ trunk/include/geos/platform.h.in	2010-01-29 20:30:49 UTC (rev 2894)
@@ -88,7 +88,7 @@
 #else
 # if defined(_MSC_VER)
 #  define ISNAN(x) _isnan(x)
-# elif defined(__OSX__)
+# elif defined(__OSX__) || defined(__APPLE__)
    // Hack for OS/X <cmath> incorrectly re-defining isnan() into oblivion.
    // It does leave a version in std.
 #  define ISNAN(x) (std::isnan(x))



More information about the geos-commits mailing list