Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
tpruvot
GitHub Repository: tpruvot/cpuminer-multi
Path: blob/linux/compat/jansson/jansson_config.h
1201 views
1
/*
2
* Copyright (c) 2010-2013 Petri Lehtinen <[email protected]>
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
/* If your compiler supports the inline keyword in C, JSON_INLINE is
21
defined to `inline', otherwise empty. In C++, the inline is always
22
supported. */
23
24
#ifdef _MSC_VER
25
#define inline __inline
26
#endif
27
28
#ifdef __cplusplus
29
#define JSON_INLINE inline
30
#else
31
#define JSON_INLINE inline
32
#endif
33
34
/* If your compiler supports the `long long` type and the strtoll()
35
library function, JSON_INTEGER_IS_LONG_LONG is defined to 1,
36
otherwise to 0. */
37
#define JSON_INTEGER_IS_LONG_LONG 1
38
39
/* If locale.h and localeconv() are available, define to 1,
40
otherwise to 0. */
41
#define JSON_HAVE_LOCALECONV 1
42
43
#endif
44
45