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:
parent
8b77bc6617
commit
043939806d
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user