summaryrefslogtreecommitdiff
path: root/configure.com
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2014-08-23 10:31:39 -0500
committerCraig A. Berry <craigberry@mac.com>2014-08-23 10:31:39 -0500
commit49994d1029811d9e902dde39d8f93f94c963551a (patch)
tree494f2c7649cf1c99ca90722c167353a5b542809a /configure.com
parent73e21afdc9198e8fdec4dace2ee3ed5b34fe2cad (diff)
downloadperl-49994d1029811d9e902dde39d8f93f94c963551a.tar.gz
VMS has the isfinite macro on all architectures.
And regardless of whether we're using IEEE math or not. If we're not, then everything is finite by definition because we would've seen an exception before getting to the point of checking for finitude, so the macro translates to "1" in those cases. As of this writing, the isfinite macro requires the inclusion of fp.h, not just math.h as C99 stipulates, and it also appears not to handle long doubles.
Diffstat (limited to 'configure.com')
-rw-r--r--configure.com7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.com b/configure.com
index 26d0ee810f..479b4ba33d 100644
--- a/configure.com
+++ b/configure.com
@@ -6064,12 +6064,7 @@ $ WC "d_ipv6_mreq='define'"
$ WC "d_ipv6_mreq_source='undef'"
$ WC "d_isascii='define'"
$ WC "d_isblank='undef'"
-$ IF F$ELEMENT(0, "-", archname) .NES. "VMS_VAX" .AND. use_ieee_math
-$ THEN
-$ WC "d_isfinite='define'"
-$ ELSE
-$ WC "d_isfinite='undef'"
-$ ENDIF
+$ WC "d_isfinite='define'"
$ WC "d_isfinitel='undef'"
$ WC "d_isinf='undef'"
$ WC "d_isinfl='undef'"