1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Redefined buggy isdigit. ELinks built with tcc works

This commit is contained in:
Witold Filipczyk 2006-04-05 23:35:04 +02:00 committed by Witold Filipczyk
parent 8b77bc6617
commit 043939806d

View File

@ -102,6 +102,8 @@ int elinks_strlcasecmp(const unsigned char *s1, size_t n1,
#define skip_nonspace(S) \
do { while (*(S) && !isspace(*(S))) (S)++; } while (0)
#undef isdigit
#define isdigit(c) ((c) >= '0' && (c) <= '9')
#define isquote(c) ((c) == '"' || (c) == '\'')
#define isasciialpha(c) (((c) >= 'A' && (c) <= 'Z') || ((c) >= 'a' && (c) <= 'z'))
#define isasciialnum(c) (isasciialpha(c) || isdigit(c))