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

svn_geos at osgeo.org svn_geos at osgeo.org
Mon May 16 07:46:24 EDT 2011


Author: strk
Date: 2011-05-16 04:46:24 -0700 (Mon, 16 May 2011)
New Revision: 3365

Modified:
   trunk/include/geos/platform.h.in
Log:
Quality ::finite and ::isfinite symbols, when available, into the std:: namespace. Fixes bug #442.

Modified: trunk/include/geos/platform.h.in
===================================================================
--- trunk/include/geos/platform.h.in	2011-05-13 16:22:29 UTC (rev 3364)
+++ trunk/include/geos/platform.h.in	2011-05-16 11:46:24 UTC (rev 3365)
@@ -74,12 +74,12 @@
 
 
 #if defined(HAVE_FINITE) && !defined(HAVE_ISFINITE)
-# define FINITE(x) (finite(x))
+# define FINITE(x) (std::finite(x))
 #else
 # if defined(_MSC_VER)
 #  define FINITE(x) _finite(static_cast<double>(x))    
 # else
-#  define FINITE(x) (isfinite(x))
+#  define FINITE(x) (std::isfinite(x))
 # endif
 #endif
 



More information about the geos-commits mailing list