From: kidproto Date: Sun, 22 Oct 2006 19:17:59 +0000 (+0000) Subject: Applied patch for support of building on Tru64 systems. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=80e4996d211e42193ef2568e99a880625f3c6daf;p=inkscape.git Applied patch for support of building on Tru64 systems. --- diff --git a/AUTHORS b/AUTHORS index e6fa01f68..0eddb6965 100644 --- a/AUTHORS +++ b/AUTHORS @@ -86,4 +86,4 @@ Michael Wybrow Daniel Yacob David Yip Masatake Yamato - +Andre Twupack diff --git a/src/isnan.h b/src/isnan.h index de8b6d629..1b4d10aab 100644 --- a/src/isnan.h +++ b/src/isnan.h @@ -30,7 +30,7 @@ # define isNaN(_a) (__isnan(_a)) /* MacOSX/Darwin definition < 10.4 */ #elif defined(WIN32) || defined(_isnan) # define isNaN(_a) (_isnan(_a)) /* Win32 definition */ -#elif defined(isnan) || defined(__FreeBSD__) +#elif defined(isnan) || defined(__FreeBSD__) || defined(__osf__) # define isNaN(_a) (isnan(_a)) /* GNU definition */ #else # define isNaN(_a) (std::isnan(_a)) @@ -47,6 +47,8 @@ # define isFinite(_a) (_isfinite(_a)) #elif defined(isfinite) # define isFinite(_a) (isfinite(_a)) +#elif defined(__osf__) +# define isFinite(_a) (finite(_a) && !isNaN(_a)) #else # define isFinite(_a) (std::isfinite(_a)) #endif