[geos-commits] [SCM] GEOS branch svn-3.5 updated. 718ad37ce2c3e777299a47f13d438523700fed94

git at osgeo.org git at osgeo.org
Fri Sep 13 14:09:41 PDT 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, svn-3.5 has been updated
       via  718ad37ce2c3e777299a47f13d438523700fed94 (commit)
      from  781fab7f6ff0ee4c3beb80be57391738c270e71f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 718ad37ce2c3e777299a47f13d438523700fed94
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Sep 13 14:09:20 2019 -0700

    Try and pick up isnan in math.h for CI build fail

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5605915..d497d2a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@
 #
 # This is free software; you can redistribute and/or modify it under
 # the terms of the GNU Lesser General Public Licence as published
-# by the Free Software Foundation. 
+# by the Free Software Foundation.
 # See the COPYING file for more information.
 #
 #################################################################################
@@ -193,7 +193,7 @@ if(NOT HAVE_STD_ISNAN)
       check_prototype_exists(__inline_isnand math.h HAVE_INLINE_ISNAND_XCODE)
     endif()
   else()
-    check_symbol_exists(isnan math.h HAVE_ISNAN)
+    check_prototype_exists(isnan math.h HAVE_ISNAN)
   endif()
 endif()
 
diff --git a/include/geos/platform.h.cmake b/include/geos/platform.h.cmake
index 035a48a..5d56abb 100644
--- a/include/geos/platform.h.cmake
+++ b/include/geos/platform.h.cmake
@@ -139,6 +139,7 @@ extern "C"
 # if defined(_MSC_VER)
 #  define ISNAN(x) _isnan(static_cast<double>(x))
 # else
+#  include <math.h>
 #  define ISNAN(x) isnan(x)
 # endif
 #else

-----------------------------------------------------------------------

Summary of changes:
 CMakeLists.txt                | 4 ++--
 include/geos/platform.h.cmake | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list