Fixed compilation error when isdigit() is a macro (fixes #1487)

This commit is contained in:
Benoit Blanchon
2021-02-02 10:08:10 +01:00
parent c72eccdd35
commit d2174d1580
3 changed files with 12 additions and 0 deletions

View File

@ -39,6 +39,15 @@
#define _max()
#define _min()
// Realtek Ameba
#define isdigit(c) (((c) >= '0') && ((c) <= '9'))
#define isprint(c)
#define isxdigit(c)
#define isspace(c)
#define isupper(c)
#define islower(c)
#define isalpha(c)
// issue #839
#define BLOCKSIZE
#define CAPACITY