[geos-commits] [SCM] GEOS branch svn-3.5 updated. 25384b3d9b9387b989b0a9caf0433e834420c717

git at osgeo.org git at osgeo.org
Fri Sep 13 15:30:31 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  25384b3d9b9387b989b0a9caf0433e834420c717 (commit)
      from  718ad37ce2c3e777299a47f13d438523700fed94 (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 25384b3d9b9387b989b0a9caf0433e834420c717
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Sep 13 15:30:11 2019 -0700

    Revert to old broken behaviour, something changed under this in travis

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d497d2a..44d3481 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -183,7 +183,7 @@ endif()
 include(CheckPrototypeExists)
 include(CheckSymbolExists)
 
-check_prototype_exists(isnan cmath HAVE_STD_ISNAN)
+check_symbol_exists(isnan cmath HAVE_STD_ISNAN)
 if(NOT HAVE_STD_ISNAN)
   if(MSVC)
     check_prototype_exists(_isnan float.h HAVE_ISNAN)
diff --git a/include/geos/platform.h.cmake b/include/geos/platform.h.cmake
index 5d56abb..035a48a 100644
--- a/include/geos/platform.h.cmake
+++ b/include/geos/platform.h.cmake
@@ -139,7 +139,6 @@ 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                | 2 +-
 include/geos/platform.h.cmake | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list