[geos-commits] r4224 - trunk/include/geos
Sandro Santilli
strk at kbt.io
Thu Jul 14 03:38:36 PDT 2016
Author: strk
Date: 2016-07-14 03:38:35 -0700 (Thu, 14 Jul 2016)
New Revision: 4224
Modified:
trunk/include/geos/platform.h.in
Log:
Fully qualify isnan call when HAVE_ISNAN is defined
Fixes build with GCC-5.3.0 and higher.
Closes #784
Modified: trunk/include/geos/platform.h.in
===================================================================
--- trunk/include/geos/platform.h.in 2016-07-12 17:48:00 UTC (rev 4223)
+++ trunk/include/geos/platform.h.in 2016-07-14 10:38:35 UTC (rev 4224)
@@ -86,7 +86,7 @@
#endif
#if defined(HAVE_ISNAN)
-# define ISNAN(x) (isnan(x))
+# define ISNAN(x) (std::isnan(x))
#else
# if defined(_MSC_VER)
# define ISNAN(x) _isnan(x)
More information about the geos-commits
mailing list