diff options
author | Petri Lehtinen <petri@digip.org> | 2024-03-07 21:02:55 +0200 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2024-03-08 21:36:21 +0200 |
commit | 2d1c13224f757e780763e205e22fdf0517db82d0 (patch) | |
tree | c663630339ba20e64c0c21b221e7ee47492cdf7e /android | |
parent | 9b9b5e81cf64936207c2081a123fa02dd943916f (diff) | |
download | jansson-2d1c13224f757e780763e205e22fdf0517db82d0.zip jansson-2d1c13224f757e780763e205e22fdf0517db82d0.tar.gz jansson-2d1c13224f757e780763e205e22fdf0517db82d0.tar.bz2 |
Use sprintf() to determine locale's decimal point
This should fix thread safety of encoding and decoding, since
localeconv() is not tread safe after all.
Diffstat (limited to 'android')
-rw-r--r-- | android/jansson_config.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/android/jansson_config.h b/android/jansson_config.h index 618a0da..448010a 100644 --- a/android/jansson_config.h +++ b/android/jansson_config.h @@ -32,10 +32,6 @@ otherwise to 0. */ #define JSON_INTEGER_IS_LONG_LONG 1 -/* If locale.h and localeconv() are available, define to 1, - otherwise to 0. */ -#define JSON_HAVE_LOCALECONV 0 - /* Maximum recursion depth for parsing JSON input. This limits the depth of e.g. array-within-array constructions. */ #define JSON_PARSER_MAX_DEPTH 2048 |