summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorKenneth Albanowski <kjahds@kjahds.com>1996-09-21 21:33:15 -0400
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-09-21 21:33:15 -0400
commit5c9fa16ebdebb977b01ccd7490c7b1c4fe1e3b8e (patch)
tree0c540db6284dc5ed8abe79a8e20fd70b28323883 /handy.h
parent4a00a65af3c0f7cb5c6a687bf8a2d61f2a47b884 (diff)
downloadperl-5c9fa16ebdebb977b01ccd7490c7b1c4fe1e3b8e.tar.gz
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.
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h4
1 files changed, 2 insertions, 2 deletions
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