From a24e8b4a654f04c5ac62435c9a99aa297f139dbb Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Mon, 1 Jul 2013 22:30:57 +1000 Subject: [PATCH] adjust the IEEEFP check for older versions of perl without the byte order pack modifier --- TIFF/Makefile.PL | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TIFF/Makefile.PL b/TIFF/Makefile.PL index c8a8c385..82fb46a5 100644 --- a/TIFF/Makefile.PL +++ b/TIFF/Makefile.PL @@ -18,8 +18,8 @@ our %IMAGER_LIBS; my $MM_ver = eval $ExtUtils::MakeMaker::VERSION; my $define = ""; -my $fp_rep = unpack("H*", pack("f<", 1.25)); -if ($fp_rep eq "0000a03f") { +my $fp_rep = unpack("H*", pack("f", 1.25)); +if ($fp_rep eq "0000a03f" || $fp_rep eq "3fa00000") { $define = "-DIEEEFP_TYPES"; } -- 2.39.5