X-Git-Url: http://www.project-moonshot.org/gitweb/?p=jansson.git;a=blobdiff_plain;f=src%2Fjansson_config.h.in;h=d2a9392639c924f57c7730311b622c8a4549efc3;hp=d55d9928b777365ae8f855faf7cf48d80555810b;hb=b76c69de1b26b589551879d80ae582a5a3506cc0;hpb=bfac1972e25b40f849852ce3c10e0a8ad47f79d7 diff --git a/src/jansson_config.h.in b/src/jansson_config.h.in index d55d992..d2a9392 100644 --- a/src/jansson_config.h.in +++ b/src/jansson_config.h.in @@ -11,29 +11,24 @@ * * 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. + * cannot run the configure script, you can do the value substitution + * by hand. */ #ifndef JANSSON_CONFIG_H #define JANSSON_CONFIG_H +/* If your compiler supports the inline keyword in C, JSON_INLINE is + defined to `inline', otherwise empty. In C++, the inline is always + supported. */ #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 + JSON_INTEGER_IS_LONG_LONG is defined to 1, otherwise to 0. */ +#define JSON_INTEGER_IS_LONG_LONG @json_have_long_long@ #endif