aboutsummaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2024-03-07 21:02:55 +0200
committerPetri Lehtinen <petri@digip.org>2024-03-08 21:36:21 +0200
commit2d1c13224f757e780763e205e22fdf0517db82d0 (patch)
treec663630339ba20e64c0c21b221e7ee47492cdf7e /android
parent9b9b5e81cf64936207c2081a123fa02dd943916f (diff)
downloadjansson-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.h4
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