webmcp
changeset 180:887b77f71e5e
Added #undef to json.c to avoid compiler warning
author | jbe |
---|---|
date | Sat Aug 02 00:39:41 2014 +0200 (2014-08-02) |
parents | 461e5353ffb1 |
children | c2e76617c26c |
files | libraries/json/json.c |
line diff
1.1 --- a/libraries/json/json.c Sat Aug 02 00:38:25 2014 +0200 1.2 +++ b/libraries/json/json.c Sat Aug 02 00:39:41 2014 +0200 1.3 @@ -17,6 +17,7 @@ 1.4 // recursively, JSON_MAXDEPTH needs to be low (e.g. 50) to avoid C stack 1.5 // overflows. 1.6 #if JSON_MAXDEPTH > 50 1.7 +#undef JSON_MAXDEPTH 1.8 #define JSON_MAXDEPTH 50 1.9 #endif 1.10