aboutsummaryrefslogtreecommitdiff
path: root/src/jansson_config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/jansson_config.h.in')
-rw-r--r--src/jansson_config.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/jansson_config.h.in b/src/jansson_config.h.in
index 5e94762..fe692ab 100644
--- a/src/jansson_config.h.in
+++ b/src/jansson_config.h.in
@@ -36,6 +36,14 @@
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@
+
+/* If __atomic builtins are not available we try using __sync builtins
+ to manage reference counts of json_t. */
+#define JSON_HAVE_SYNC_BUILTINS @json_have_sync_builtins@
+
/* Maximum recursion depth for parsing JSON input.
This limits the depth of e.g. array-within-array constructions. */
#define JSON_PARSER_MAX_DEPTH 2048