summaryrefslogtreecommitdiff
path: root/packsizetables.inc
diff options
context:
space:
mode:
authorLeon Timmermans <fawaka@gmail.com>2021-01-29 02:48:29 +0100
committerLeon Timmermans <fawaka@gmail.com>2021-02-19 17:07:46 +0100
commit77a2054ea312b030904555167b764e4510dbcac6 (patch)
tree82eb5424d0c8a0e1a37e1ccf062a48b6122ec953 /packsizetables.inc
parentea6c7d00a911c12057d4f534a05e8964d5a4a47a (diff)
downloadperl-77a2054ea312b030904555167b764e4510dbcac6.tar.gz
Allow pack 'D' on all systems with long doubles
Previously it was only supported if NV also was long double, but not when it is either double or __float128.
Diffstat (limited to 'packsizetables.inc')
-rw-r--r--packsizetables.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/packsizetables.inc b/packsizetables.inc
index 1eeae13ef4..ae74f93296 100644
--- a/packsizetables.inc
+++ b/packsizetables.inc
@@ -19,7 +19,7 @@ STATIC const packprops_t packprops[512] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0,
/* C */ sizeof(unsigned char),
-#if defined(HAS_LONG_DOUBLE) && defined(USE_LONG_DOUBLE)
+#if defined(HAS_LONG_DOUBLE)
/* D */ LONG_DOUBLESIZE,
#else
0,
@@ -154,7 +154,7 @@ STATIC const packprops_t packprops[512] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* C */ sizeof(unsigned char),
-#if defined(HAS_LONG_DOUBLE) && defined(USE_LONG_DOUBLE)
+#if defined(HAS_LONG_DOUBLE)
/* D */ LONG_DOUBLESIZE,
#else
0,