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

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Aug 25 00:42:16 PDT 2014


Author: strk
Date: 2014-08-25 00:42:16 -0700 (Mon, 25 Aug 2014)
New Revision: 3996

Modified:
   trunk/include/geos/platform.h.in
Log:
Fix OpenBSD build (#700)

Modified: trunk/include/geos/platform.h.in
===================================================================
--- trunk/include/geos/platform.h.in	2014-08-09 03:13:06 UTC (rev 3995)
+++ trunk/include/geos/platform.h.in	2014-08-25 07:42:16 UTC (rev 3996)
@@ -94,7 +94,7 @@
 // sandro furieri: sanitizing MinGW32
 #  define ISNAN(x) (std::isnan(x))
 # elif defined(__OSX__) || defined(__APPLE__) || \
-       defined(__NetBSD__) || defined(__DragonFly__) ||	\
+       defined(__NetBSD__) || defined(__DragonFly__) || defined (__OpenBSD__) || \
        (defined(__sun) && defined(__GNUC__))
    // 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