* Copyright (c) 2010-2016 Petri Lehtinen <petri@digip.org>
*
* Jansson is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*
*
* This file specifies a part of the site-specific configuration for
* Jansson, namely those things that affect the public API in
* jansson.h.
*
* The CMake system will generate the jansson_config.h file and
* copy it to the build and install directories.
*/
#ifndef JANSSON_CONFIG_H
#define JANSSON_CONFIG_H
#ifndef JANSSON_USING_CMAKE
#define JANSSON_USING_CMAKE
#endif
* as we will also check for __int64 etc types.
* (the definition was used in the automake system) */
#define HAVE_STDINT_H 1
#define HAVE_SYS_TYPES_H 1
#if defined(HAVE_STDINT_H)
# include <stdint.h>
#elif defined(HAVE_INTTYPES_H)
# include <inttypes.h>
#elif defined(HAVE_SYS_TYPES_H)
# include <sys/types.h>
#endif
defined to `inline', otherwise empty. In C++, the inline is always
supported. */
#ifdef __cplusplus
#define JSON_INLINE inline
#else
#define JSON_INLINE inline
#endif
#define json_int_t long long
#define json_strtoint strtoll
#define JSON_INTEGER_FORMAT "lld"
#define JSON_HAVE_LOCALECONV 1
reference counts of json_t. */
#define JSON_HAVE_ATOMIC_BUILTINS 0
to manage reference counts of json_t. */
#define JSON_HAVE_SYNC_BUILTINS 0
This limits the depth of e.g. array-within-array constructions. */
#define JSON_PARSER_MAX_DEPTH 2048
#endif