From d5cca47fac5a27ceee91b9b35ebb07de279bc888 Mon Sep 17 00:00:00 2001 From: msmith Date: Sun, 29 Apr 2001 19:06:57 +0000 Subject: Unbreak world by defining isalnum() for libstand consumers. --- lib/libstand/stand.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libstand') diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h index b3d7c41..8d39e46 100644 --- a/lib/libstand/stand.h +++ b/lib/libstand/stand.h @@ -182,6 +182,7 @@ extern struct open_file files[]; #define isxdigit(c) (isdigit(c) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F')) #define isascii(c) (((c) & ~0x7F) == 0) #define isalpha(c) (isupper(c) || (islower(c))) +#define isalnum(c) (isalpha(c) || isdigit(c)) static __inline int toupper(int c) { -- cgit v1.1