aboutsummaryrefslogtreecommitdiff
path: root/cmake
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 /cmake
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 'cmake')
-rw-r--r--cmake/jansson_config.h.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmake/jansson_config.h.cmake b/cmake/jansson_config.h.cmake
index 2f248cb..542e57b 100644
--- a/cmake/jansson_config.h.cmake
+++ b/cmake/jansson_config.h.cmake
@@ -56,9 +56,6 @@
#define JSON_INTEGER_FORMAT @JSON_INTEGER_FORMAT@
-/* If locale.h and localeconv() are available, define to 1, otherwise to 0. */
-#define JSON_HAVE_LOCALECONV @JSON_HAVE_LOCALECONV@
-
/* If __atomic builtins are available they will be used to manage
reference counts of json_t. */
#define JSON_HAVE_ATOMIC_BUILTINS @JSON_HAVE_ATOMIC_BUILTINS@