2012-06-04 01:27:48 +08:00
|
|
|
/* Reduced down to the defines that are actually used in the code */
|
|
|
|
|
2012-06-07 23:07:04 +08:00
|
|
|
/* Define to 1 if you have the <inttypes.h> (and friends) header file. */
|
2012-06-04 01:27:48 +08:00
|
|
|
#cmakedefine HAVE_INTTYPES_H 1
|
2012-06-07 23:07:04 +08:00
|
|
|
#cmakedefine HAVE_STDINT_H 1
|
|
|
|
#cmakedefine HAVE_SYS_TYPES_H 1
|
|
|
|
|
|
|
|
/* We must include this here, as in (eg) utf.h it will want to use
|
|
|
|
the integer type, which in MSVC2010 will be in stdint.h
|
|
|
|
(there is no inttypes.h in MSVC2010) */
|
|
|
|
#if defined(HAVE_STDINT_H)
|
|
|
|
# include <stdint.h>
|
|
|
|
#elif defined(HAVE_INTTYPES_H)
|
|
|
|
# include <inttypes.h>
|
|
|
|
#elif defined(HAVE_SYS_TYPES_H)
|
|
|
|
# include <sys/types.h>
|
|
|
|
#endif
|
2012-06-04 01:27:48 +08:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <locale.h> header file. */
|
|
|
|
#cmakedefine HAVE_LOCALE_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the 'setlocale' function. */
|
|
|
|
#cmakedefine HAVE_SETLOCALE 1
|
|
|
|
|
|
|
|
/* Define to the type of a signed integer type of width exactly 32 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#cmakedefine HAVE_INT32_T 1
|
|
|
|
|
|
|
|
#ifndef HAVE_INT32_T
|
|
|
|
# define int32_t @JSON_INT32@
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAVE_SNPRINTF
|
|
|
|
# define snprintf @JSON_SNPRINTF@
|
|
|
|
#endif
|