[geos-commits] [SCM] GEOS branch svn-3.6 updated. ba90ca5e1a5a1091822d376f83fe635694ca3469

git at osgeo.org git at osgeo.org
Tue Oct 1 15:14:59 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.6 has been updated
       via  ba90ca5e1a5a1091822d376f83fe635694ca3469 (commit)
       via  d2c7d03bb518171848f01073b19a626ba8ff5ca2 (commit)
      from  adb162a6878a41d9c239d5ec8945fa86d7193611 (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 ba90ca5e1a5a1091822d376f83fe635694ca3469
Merge: d2c7d03 adb162a
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Oct 1 15:14:53 2019 -0700

    Merge branch 'svn-3.6' of https://git.osgeo.org/gogs/geos/geos into svn-3.6


commit d2c7d03bb518171848f01073b19a626ba8ff5ca2
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Oct 1 15:14:32 2019 -0700

    Detech isnan on solaris
    References #839

diff --git a/include/geos/platform.h.in b/include/geos/platform.h.in
index c3bc9c8..de2cbd3 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