From 5c9fa16ebdebb977b01ccd7490c7b1c4fe1e3b8e Mon Sep 17 00:00:00 2001 From: Kenneth Albanowski Date: Sat, 21 Sep 1996 21:33:15 -0400 Subject: 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. --- handy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'handy.h') diff --git a/handy.h b/handy.h index d222cc0be1..27eebd70c4 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 -- cgit v1.2.1