Change the underlying type of JSON integer from long to json_int_t
[jansson.git] / src / jansson_config.h.in
1 /*
2  * Copyright (c) 2010 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 copy the file and do the
15  * value substitution by hand.
16  *
17  * See below for explanations of each substitution variable.
18  */
19
20 #ifndef JANSSON_CONFIG_H
21 #define JANSSON_CONFIG_H
22
23 #ifdef __cplusplus
24 #define JSON_INLINE inline
25 #else
26 /* If your compiler supports the inline keyword, @json_inline@ is
27    replaced with `inline', otherwise empty. */
28 #define JSON_INLINE @json_inline@
29 #endif
30
31 /* If your compiler supports the `long long` type,
32    @json_have_long_long@ is replaced with 1, otherwise with 0. */
33 #if @json_have_long_long@
34 #define JSON_INTEGER_IS_LONG_LONG 1
35 #else
36 #define JSON_INTEGER_IS_LONG 1
37 #endif
38
39 #endif