summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2004-01-08 16:21:25 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-01-12 21:24:28 +0000
commitc302d089fd60667af8cc69b142a3170e60b81b9e (patch)
tree4f014ed8470bc87c0720baf136f934f819d92aa5 /handy.h
parent87c9b3a674e8d668946befbd197e1e7dcbafd7e6 (diff)
downloadperl-c302d089fd60667af8cc69b142a3170e60b81b9e.tar.gz
RE: MIME-Base64-2.22 [PATCH]
Message-ID: <533D273D4014D411AB1D00062938C4D904046787@hotel.npl.co.uk> p4raw-id: //depot/perl@22123
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/handy.h b/handy.h
index 94798f4342..88d7b13f7a 100644
--- a/handy.h
+++ b/handy.h
@@ -357,7 +357,7 @@ Converts the specified character to lowercase.
# define isGRAPH(c) (isALNUM(c) || isPUNCT(c))
# define isPRINT(c) (((c) > 32 && (c) < 127) || (c) == ' ')
# define isPUNCT(c) (((c) >= 33 && (c) <= 47) || ((c) >= 58 && (c) <= 64) || ((c) >= 91 && (c) <= 96) || ((c) >= 123 && (c) <= 126))
-# define isXDIGIT(c) (isdigit(c) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F'))
+# define isXDIGIT(c) (isDIGIT(c) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F'))
# define toUPPER(c) (isLOWER(c) ? (c) - ('a' - 'A') : (c))
# define toLOWER(c) (isUPPER(c) ? (c) + ('a' - 'A') : (c))
#endif