[geos-commits] r3997 - branches/3.4/include/geos

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Aug 25 00:43:12 PDT 2014


Author: strk
Date: 2014-08-25 00:43:11 -0700 (Mon, 25 Aug 2014)
New Revision: 3997

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

Modified: branches/3.4/include/geos/platform.h.in
===================================================================
--- branches/3.4/include/geos/platform.h.in	2014-08-25 07:42:16 UTC (rev 3996)
+++ branches/3.4/include/geos/platform.h.in	2014-08-25 07:43:11 UTC (rev 3997)
@@ -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