3 use ExtUtils::MakeMaker;
7 (unpack "B*", pack "N", $Config{ptrsize}) =~ /^0+1(0+)$/
8 or die "Your pointer size of $Config{ptrsize} is very confusing";
9 my $ptr_bits = length $1;
13 NAME => 'Devel::Size',
14 VERSION_FROM => 'lib/Devel/Size.pm',
15 DEFINE => "-DALIGN_BITS=$ptr_bits",
16 PREREQ_PM => { 'Test::More' => 0, XSLoader => 0, },
17 (eval $ExtUtils::MakeMaker::VERSION >= 6.47 ? (MIN_PERL_VERSION => '5.005') : ()),
18 (eval $ExtUtils::MakeMaker::VERSION >= 6.31 ? (LICENSE => 'perl') : ()),