[geos-commits] [SCM] GEOS branch 3.7 updated. 3cefa48039abc41a35ae1c6002302df9d85a8ced

git at osgeo.org git at osgeo.org
Tue Oct 1 15:16:19 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, 3.7 has been updated
       via  3cefa48039abc41a35ae1c6002302df9d85a8ced (commit)
      from  ede9ba02fd380131be37f42b2275c33fc1ac8461 (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 3cefa48039abc41a35ae1c6002302df9d85a8ced
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Oct 1 15:16:02 2019 -0700

    Detect isnan on solaris
    Closes #839

diff --git a/include/geos/platform.h.in b/include/geos/platform.h.in
index e734708..bd968ab 100644
--- a/include/geos/platform.h.in
+++ b/include/geos/platform.h.in
@@ -94,12 +94,11 @@ extern "C"
 // sandro furieri: sanitizing MinGW32
 #  define ISNAN(x) (std::isnan(x))
 # elif defined(__OSX__) || defined(__APPLE__) || \
-       defined(__NetBSD__) || defined(__DragonFly__) || defined (__OpenBSD__) || \
-       (defined(__sun) && defined(__GNUC__))
+       defined(__NetBSD__) || defined(__DragonFly__) || defined (__OpenBSD__) 
    // Hack for OS/X <cmath> incorrectly re-defining isnan() into oblivion.
    // It does leave a version in std.
 #  define ISNAN(x) (std::isnan(x))
-# elif (defined(__sun) || defined(__sun__)) && defined(__SUNPRO_CC)
+# elif (defined(__sun) || defined(__sun__))
 #  include <math.h>
 #  define ISNAN(x) (::isnan(x))
 # endif

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

Summary of changes:
 include/geos/platform.h.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list