76 lines
1.7 KiB
CMake
76 lines
1.7 KiB
CMake
#cmakedefine HAVE_ENDIAN_H 1
|
|
#cmakedefine HAVE_FCNTL_H 1
|
|
#cmakedefine HAVE_SCHED_H 1
|
|
#cmakedefine HAVE_UNISTD_H 1
|
|
#cmakedefine HAVE_SYS_PARAM_H 1
|
|
#cmakedefine HAVE_SYS_STAT_H 1
|
|
#cmakedefine HAVE_SYS_TIME_H 1
|
|
#cmakedefine HAVE_SYS_TYPES_H 1
|
|
#cmakedefine HAVE_STDINT_H 1
|
|
|
|
#cmakedefine HAVE_CLOSE 1
|
|
#cmakedefine HAVE_GETPID 1
|
|
#cmakedefine HAVE_GETTIMEOFDAY 1
|
|
#cmakedefine HAVE_OPEN 1
|
|
#cmakedefine HAVE_READ 1
|
|
#cmakedefine HAVE_SCHED_YIELD 1
|
|
|
|
#cmakedefine HAVE_SYNC_BUILTINS 1
|
|
#cmakedefine HAVE_ATOMIC_BUILTINS 1
|
|
|
|
#cmakedefine HAVE_LOCALE_H 1
|
|
#cmakedefine HAVE_SETLOCALE 1
|
|
|
|
#cmakedefine HAVE_INT32_T 1
|
|
#ifndef HAVE_INT32_T
|
|
# define int32_t @JSON_INT32@
|
|
#endif
|
|
|
|
#cmakedefine HAVE_UINT32_T 1
|
|
#ifndef HAVE_UINT32_T
|
|
# define uint32_t @JSON_UINT32@
|
|
#endif
|
|
|
|
#cmakedefine HAVE_UINT16_T 1
|
|
#ifndef HAVE_UINT16_T
|
|
# define uint16_t @JSON_UINT16@
|
|
#endif
|
|
|
|
#cmakedefine HAVE_UINT8_T 1
|
|
#ifndef HAVE_UINT8_T
|
|
# define uint8_t @JSON_UINT8@
|
|
#endif
|
|
|
|
#cmakedefine HAVE_SSIZE_T 1
|
|
|
|
#ifndef HAVE_SSIZE_T
|
|
# define ssize_t @JSON_SSIZE@
|
|
#endif
|
|
|
|
#cmakedefine HAVE_SNPRINTF 1
|
|
|
|
/* snprintf should not be defined as macro with MSC_VER >= 1900 */
|
|
#if defined(_WIN32) || defined(WIN32)
|
|
# if defined(_MSC_VER) /* MS compiller */
|
|
# if (_MSC_VER < 1900) /* snprintf not introduced */
|
|
# if !defined(snprintf)
|
|
# define snprintf _snprintf
|
|
# define HAVE_SNPRINTF 1 /* snprintf defined manually */
|
|
# endif
|
|
# else
|
|
# define HAVE_SNPRINTF 1 /* snprintf available via sdk */
|
|
# endif
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef HAVE_SNPRINTF
|
|
# define snprintf @JSON_SNPRINTF@
|
|
#endif
|
|
|
|
#cmakedefine HAVE_VSNPRINTF
|
|
|
|
#cmakedefine USE_URANDOM 1
|
|
#cmakedefine USE_WINDOWS_CRYPTOAPI 1
|
|
|
|
#define INITIAL_HASHTABLE_ORDER @JANSSON_INITIAL_HASHTABLE_ORDER@
|