change log updated
[public/netxms.git] / include / jansson_config.h
CommitLineData
d41268ba
VK
1/*
2 * Copyright (c) 2010-2013 Petri Lehtinen <petri@digip.org>
3 *
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.
6 *
7 *
8 * This file specifies a part of the site-specific configuration for
9 * Jansson, namely those things that affect the public API in
10 * jansson.h.
11 *
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
15 * by hand.
16 */
17
18#ifndef JANSSON_CONFIG_H
19#define JANSSON_CONFIG_H
20
21#include <nms_common.h>
22
23/* If your compiler supports the inline keyword in C, JSON_INLINE is
24 defined to `inline', otherwise empty. In C++, the inline is always
25 supported. */
26#ifdef __cplusplus
27#define JSON_INLINE inline
28#else
29#ifdef _WIN32
30#define JSON_INLINE __inline
31#else
32#define JSON_INLINE inline
33#endif
34#endif
35
36/* If your compiler supports the `long long` type and the strtoll()
37 library function, JSON_INTEGER_IS_LONG_LONG is defined to 1,
38 otherwise to 0. */
39#define JSON_INTEGER_IS_LONG_LONG 1
40
41/* If locale.h and localeconv() are available, define to 1,
42 otherwise to 0. */
43#define JSON_HAVE_LOCALECONV 1
44
45#endif