From: Steve Hay Date: Fri, 6 Jan 2006 17:20:47 +0000 (+0000) Subject: DBL_MAX and FLT_MAX are not constants in Borland C++ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c8e8edb2625f7d67845ee0f7335a8f8f29fee231;p=p5sagit%2Fp5-mst-13.2.git DBL_MAX and FLT_MAX are not constants in Borland C++ (Fixes BCC compilation error in POSIX introduced by change 26455) p4raw-id: //depot/perl@26677 --- diff --git a/ext/POSIX/Makefile.PL b/ext/POSIX/Makefile.PL index 499d76a..291d36e 100644 --- a/ext/POSIX/Makefile.PL +++ b/ext/POSIX/Makefile.PL @@ -90,12 +90,12 @@ push @names, {name=>$_, type=>"UV"} foreach (qw(SA_NOCLDSTOP SA_NOCLDWAIT SA_NODEFER SA_ONSTACK SA_RESETHAND SA_RESTART SA_SIGINFO UCHAR_MAX UINT_MAX ULONG_MAX USHRT_MAX)); push @names, {name=>$_, type=>"NV", not_constant=>1} - foreach (qw(LDBL_MAX LDBL_MIN LDBL_EPSILON)); + foreach (qw(DBL_MAX FLT_MAX LDBL_MAX LDBL_MIN LDBL_EPSILON)); push @names, {name=>$_, type=>"NV"} - foreach (qw(DBL_DIG DBL_EPSILON DBL_MANT_DIG DBL_MAX DBL_MAX_10_EXP + foreach (qw(DBL_DIG DBL_EPSILON DBL_MANT_DIG DBL_MAX_10_EXP DBL_MAX_EXP DBL_MIN DBL_MIN_10_EXP DBL_MIN_EXP - FLT_DIG FLT_EPSILON FLT_MANT_DIG FLT_MAX FLT_MAX_10_EXP + FLT_DIG FLT_EPSILON FLT_MANT_DIG FLT_MAX_10_EXP FLT_MAX_EXP FLT_MIN FLT_MIN_10_EXP FLT_MIN_EXP FLT_RADIX LDBL_DIG LDBL_MANT_DIG LDBL_MAX_10_EXP LDBL_MAX_EXP LDBL_MIN_10_EXP LDBL_MIN_EXP));