forked from bblanchon/ArduinoJson
Fixed compilation error when isdigit() is a macro (fixes #1487)
This commit is contained in:
@ -8,9 +8,11 @@
|
||||
|
||||
namespace ARDUINOJSON_NAMESPACE {
|
||||
|
||||
#ifndef isdigit
|
||||
inline bool isdigit(char c) {
|
||||
return '0' <= c && c <= '9';
|
||||
}
|
||||
#endif
|
||||
|
||||
inline bool issign(char c) {
|
||||
return '-' == c || c == '+';
|
||||
|
Reference in New Issue
Block a user