From: Kenneth Albanowski Date: Sun, 22 Sep 1996 01:33:15 +0000 (-0400) Subject: Full LONG_MAX & co. patch over 5.003_05 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5c9fa16ebdebb977b01ccd7490c7b1c4fe1e3b8e;p=p5sagit%2Fp5-mst-13.2.git Full LONG_MAX & co. patch over 5.003_05 This patch contains the changes I've collected for the various _MAX issues since 5.003_05. No patches issued between 5.003_05 and this one should be applied, use this one instead. The effect is to remove the CHAR_* and I8_* constants (which are ambiguous) and to explicitly cast all of the constants. --- diff --git a/handy.h b/handy.h index d222cc0..27eebd7 100644 --- a/handy.h +++ b/handy.h @@ -85,8 +85,8 @@ typedef char I8; typedef unsigned char U8; -#define I8_MAX PERL_CHAR_MAX -#define I8_MIN PERL_CHAR_MIN +/* I8_MAX and I8_MIN constants are not defined, as I8 is an ambiguous type. + Please search CHAR_MAX in perl.h for further details. */ #define U8_MAX PERL_UCHAR_MAX #define U8_MIN PERL_UCHAR_MIN