Path: blob/linux/compat/jansson/jansson_config.h
1201 views
/*1* Copyright (c) 2010-2013 Petri Lehtinen <[email protected]>2*3* Jansson is free software; you can redistribute it and/or modify4* it under the terms of the MIT license. See LICENSE for details.5*6*7* This file specifies a part of the site-specific configuration for8* Jansson, namely those things that affect the public API in9* jansson.h.10*11* The configure script copies this file to jansson_config.h and12* replaces @var@ substitutions by values that fit your system. If you13* cannot run the configure script, you can do the value substitution14* by hand.15*/1617#ifndef JANSSON_CONFIG_H18#define JANSSON_CONFIG_H19/* If your compiler supports the inline keyword in C, JSON_INLINE is20defined to `inline', otherwise empty. In C++, the inline is always21supported. */2223#ifdef _MSC_VER24#define inline __inline25#endif2627#ifdef __cplusplus28#define JSON_INLINE inline29#else30#define JSON_INLINE inline31#endif3233/* If your compiler supports the `long long` type and the strtoll()34library function, JSON_INTEGER_IS_LONG_LONG is defined to 1,35otherwise to 0. */36#define JSON_INTEGER_IS_LONG_LONG 13738/* If locale.h and localeconv() are available, define to 1,39otherwise to 0. */40#define JSON_HAVE_LOCALECONV 14142#endif434445