diff options
author | Garner Lee <garner.lee@telekom.com> | 2013-03-27 17:31:05 -0700 |
---|---|---|
committer | Garner Lee <garner.lee@telekom.com> | 2013-03-27 17:31:05 -0700 |
commit | 7c4f323abc9e12e71d7c17c369ca41487feec7a7 (patch) | |
tree | bbb2c41960d3aaca6103522fbe1cfe026012a052 /android | |
parent | dc2d54d9c6a6a72fd8ed0214e257a47698d20d57 (diff) | |
download | jansson-7c4f323abc9e12e71d7c17c369ca41487feec7a7.zip jansson-7c4f323abc9e12e71d7c17c369ca41487feec7a7.tar.gz jansson-7c4f323abc9e12e71d7c17c369ca41487feec7a7.tar.bz2 |
Create Android.mk, preconfigured jansson_config.h and CleanSpec.mk for Android-like build systems.
Diffstat (limited to 'android')
-rw-r--r-- | android/jansson_config.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/android/jansson_config.h b/android/jansson_config.h new file mode 100644 index 0000000..ce5b240 --- /dev/null +++ b/android/jansson_config.h @@ -0,0 +1,39 @@ +/* + * Copyright (c) 2010-2012 Petri Lehtinen <petri@digip.org> + * + * 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 inline +#endif + +/* If your compiler supports the `long long` type and the strtoll() + library function, JSON_INTEGER_IS_LONG_LONG is defined to 1, + otherwise to 0. */ +#define JSON_INTEGER_IS_LONG_LONG 1 + +/* If locale.h and localeconv() are available, define to 1, + otherwise to 0. */ +#define JSON_HAVE_LOCALECONV 0 + +#endif |