X-Git-Url: http://www.project-moonshot.org/gitweb/?p=jansson.git;a=blobdiff_plain;f=src%2Fjansson_config.h.in;h=d55d9928b777365ae8f855faf7cf48d80555810b;hp=1a9d859fea7d4215826e14cf4bd5b5093a6d2ce2;hb=ffbab6fedd86ee1a0c7884d62fa7233ce9d745d2;hpb=7ce70533c90dc7dfc3570023144547dfb32950e1 diff --git a/src/jansson_config.h.in b/src/jansson_config.h.in index 1a9d859..d55d992 100644 --- a/src/jansson_config.h.in +++ b/src/jansson_config.h.in @@ -3,6 +3,18 @@ * * Jansson is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. + * + * + * 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 + * cannot run the configure script, you can copy the file and do the + * value substitution by hand. + * + * See below for explanations of each substitution variable. */ #ifndef JANSSON_CONFIG_H @@ -11,7 +23,17 @@ #ifdef __cplusplus #define JSON_INLINE inline #else +/* If your compiler supports the inline keyword, @json_inline@ is + replaced with `inline', otherwise empty. */ #define JSON_INLINE @json_inline@ #endif +/* If your compiler supports the `long long` type, + @json_have_long_long@ is replaced with 1, otherwise with 0. */ +#if @json_have_long_long@ +#define JSON_INTEGER_IS_LONG_LONG 1 +#else +#define JSON_INTEGER_IS_LONG 1 +#endif + #endif