summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-13 13:54:42 +0200
committerAaron Crane <arc@cpan.org>2017-10-21 16:53:02 +0100
commitedb450b123b6d0746d07c89cc1fe31426753497c (patch)
treee82aa53119af1f4483574facf863b3d5f31e2b19 /plan9
parentb905af4c1158d6ce72032009e9f8387d5a5f5285 (diff)
downloadperl-edb450b123b6d0746d07c89cc1fe31426753497c.tar.gz
Rely on C89 <float.h> defining DBL_DIG
I would like to be able to assume that we have long doubles, and therefore that LDBL_DIG and friends are all defined too. But it seems that we may still support some platforms which are otherwise C89, but don't have even trivial long-double support; in particular, HP/UX 10 apparently uses a struct of four uint32_t values as long double, but doesn't support other bits, and confuses the Configure probe that looks for quadmath.
Diffstat (limited to 'plan9')
-rw-r--r--plan9/config.plan98
-rw-r--r--plan9/config_h.sample8
2 files changed, 0 insertions, 16 deletions
diff --git a/plan9/config.plan9 b/plan9/config.plan9
index 5e9a9a926b..0d42aae460 100644
--- a/plan9/config.plan9
+++ b/plan9/config.plan9
@@ -127,14 +127,6 @@
*/
#define HAS_CUSERID /**/
-/* HAS_DBL_DIG:
- * This symbol, if defined, indicates that this system's <float.h>
- * or <limits.h> defines the symbol DBL_DIG, which is the number
- * of significant digits in a double precision number. If this
- * symbol is not defined, a guess of 15 is usually pretty good.
- */
-#define HAS_DBL_DIG /* */
-
/* HAS_DIFFTIME:
* This symbol, if defined, indicates that the difftime routine is
* available.
diff --git a/plan9/config_h.sample b/plan9/config_h.sample
index bb63df7a02..77c877221a 100644
--- a/plan9/config_h.sample
+++ b/plan9/config_h.sample
@@ -85,14 +85,6 @@
*/
#define HAS_CUSERID /**/
-/* HAS_DBL_DIG:
- * This symbol, if defined, indicates that this system's <float.h>
- * or <limits.h> defines the symbol DBL_DIG, which is the number
- * of significant digits in a double precision number. If this
- * symbol is not defined, a guess of 15 is usually pretty good.
- */
-#define HAS_DBL_DIG /* */
-
/* HAS_DIFFTIME:
* This symbol, if defined, indicates that the difftime routine is
* available.