]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/jansson/jansson_config.h
2 * Copyright (c) 2010-2016 Petri Lehtinen <petri@digip.org>
4 * Jansson is free software; you can redistribute it and/or modify
5 * it under the terms of the MIT license. See LICENSE for details.
8 * This file specifies a part of the site-specific configuration for
9 * Jansson, namely those things that affect the public API in
12 * The configure script copies this file to jansson_config.h and
13 * replaces @var@ substitutions by values that fit your system. If you
14 * cannot run the configure script, you can do the value substitution
18 #ifndef JANSSON_CONFIG_H
19 #define JANSSON_CONFIG_H
21 /* If your compiler supports the inline keyword in C, JSON_INLINE is
22 defined to `inline', otherwise empty. In C++, the inline is always
25 #define JSON_INLINE inline
27 #define JSON_INLINE inline
30 /* If your compiler supports the `long long` type and the strtoll()
31 library function, JSON_INTEGER_IS_LONG_LONG is defined to 1,
33 #define JSON_INTEGER_IS_LONG_LONG 1
35 /* If locale.h and localeconv() are available, define to 1,
37 #define JSON_HAVE_LOCALECONV 1
39 /* If __atomic builtins are available they will be used to manage
40 reference counts of json_t. */
41 #define JSON_HAVE_ATOMIC_BUILTINS 1
43 /* If __atomic builtins are not available we try using __sync builtins
44 to manage reference counts of json_t. */
45 #define JSON_HAVE_SYNC_BUILTINS 1
47 /* Maximum recursion depth for parsing JSON input.
48 This limits the depth of e.g. array-within-array constructions. */
49 #define JSON_PARSER_MAX_DEPTH 2048