From 3c4cf31a010327ffc713aa92e9a78f9e8d726e86 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Sun, 5 Sep 2010 21:21:36 +0300 Subject: [PATCH] Add jansson_config.h.win32 As the configure script cannot be run on Windows, give the users a jansson_config.h that they can use directly. --- src/jansson_config.h.win32 | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/jansson_config.h.win32 diff --git a/src/jansson_config.h.win32 b/src/jansson_config.h.win32 new file mode 100644 index 0000000..ffb512f --- /dev/null +++ b/src/jansson_config.h.win32 @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2010 Petri Lehtinen + * + * 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 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 +#define JSON_INLINE +#endif + +/* If your compiler supports the `long long` type, + JSON_INTEGER_IS_LONG_LONG is defined to 1, otherwise to 0. */ +#define JSON_INTEGER_IS_LONG_LONG 1 + +#endif -- 2.1.4