summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-08-22 10:56:10 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-08-22 15:18:49 -0400
commitfc0f129beb8db78ea29e976328efbe5df2f7aaf8 (patch)
tree2e7d8ec6f83377f33980dddf4ab1c04ac279964b /Configure
parentd98292cc88b8c823e911dca3e59a28b3e3fd6fec (diff)
downloadperl-fc0f129beb8db78ea29e976328efbe5df2f7aaf8.tar.gz
If this format ever happens, it is probably left-aligned.
(Having unused bytes in the left/low/front makes no sense.)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/Configure b/Configure
index ccc6df4a20..90094aaee5 100755
--- a/Configure
+++ b/Configure
@@ -6842,8 +6842,7 @@ int main() {
printf("3\n");
exit(0);
}
- if (b[LONGDBLSIZE - 11] == 0x00 && b[LONGDBLSIZE - 10] == 0xBF &&
- b[LONGDBLSIZE - 1] == 0xCD) {
+ if (b[0] == 0xBF && b[9] == 0xCD && b[10] == 0x00) {
/* is there ever big-endian 80-bit, really? */
printf("4\n");
exit(0);