2010-08-11 03:14:37 +08:00
|
|
|
/*
|
2011-01-21 03:28:54 +08:00
|
|
|
* Copyright (c) 2010-2011 Petri Lehtinen <petri@digip.org>
|
2010-08-11 03:14:37 +08:00
|
|
|
*
|
|
|
|
* Jansson is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the MIT license. See LICENSE for details.
|
2010-08-14 03:06:01 +08:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* This file specifies a part of the site-specific configuration for
|
|
|
|
* Jansson, namely those things that affect the public API in
|
|
|
|
* jansson.h.
|
|
|
|
*
|
|
|
|
* The configure script copies this file to jansson_config.h and
|
|
|
|
* replaces @var@ substitutions by values that fit your system. If you
|
2010-08-15 01:37:50 +08:00
|
|
|
* cannot run the configure script, you can do the value substitution
|
|
|
|
* by hand.
|
2010-08-11 03:14:37 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef JANSSON_CONFIG_H
|
|
|
|
#define JANSSON_CONFIG_H
|
|
|
|
|
2010-08-15 01:37:50 +08:00
|
|
|
/* If your compiler supports the inline keyword in C, JSON_INLINE is
|
|
|
|
defined to `inline', otherwise empty. In C++, the inline is always
|
|
|
|
supported. */
|
2010-08-11 03:14:37 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
#define JSON_INLINE inline
|
|
|
|
#else
|
|
|
|
#define JSON_INLINE @json_inline@
|
|
|
|
#endif
|
|
|
|
|
2010-08-14 03:06:01 +08:00
|
|
|
/* If your compiler supports the `long long` type,
|
2010-08-15 01:37:50 +08:00
|
|
|
JSON_INTEGER_IS_LONG_LONG is defined to 1, otherwise to 0. */
|
|
|
|
#define JSON_INTEGER_IS_LONG_LONG @json_have_long_long@
|
2010-08-14 03:06:01 +08:00
|
|
|
|
2011-10-03 02:27:53 +08:00
|
|
|
/* If locale.h and localeconv() are available, define to 1,
|
|
|
|
otherwise to 0. */
|
|
|
|
#define JSON_HAVE_LOCALECONV @json_have_localeconv@
|
|
|
|
|
2010-08-11 03:14:37 +08:00
|
|
|
#endif
|