BaH.Jansson (JSON Parser) Android Fix
BlitzMax Forums/Brucey's Modules/BaH.Jansson (JSON Parser) Android Fix
| ||
While doing some test with JSON parsing (Jansson.Mod), compiling the mod and strconv.h fails..error: 'struct lconv' has no member named 'decimal_point' Should be in ncurses_cfg.h (not in sources) so I did a quick fix and add the following in strconv.h: #ifdef __ANDROID__ #define JSON_HAVE_LOCALECONV 0 #endif Build and run the test example on android + desktop. Just a quick fix and it works ok now. |
| ||
Maybe send out a pull request on the github repo. especially if you intend to play a bit more with modules and NG. Bye Ringe |
| ||
Thanks Derron, but I'm sure Brucey will have a much better solution compared to that. It's just a quick fix that I need to work with my stuff. |
| ||
I've re-arranged the headers, and updated to the latest jansson (2.8 dev). It should work better now. |
| ||
awesome, thanks :D |