You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
46 lines
1.3 KiB
/* |
|
* Copyright (c) 2010-2013 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 _MSC_VER |
|
#define inline __inline |
|
#if !defined(HAVE_STRUCT_TIMESPEC) && _MSC_VER >= 1900 |
|
#define HAVE_STRUCT_TIMESPEC |
|
#endif |
|
#endif |
|
|
|
#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 1 |
|
|
|
#endif
|
|
|