Blame cmake/config.h.in

Packit 0b5880
/*-*- mode:C; -*- */
Packit 0b5880
/* config.h.  Generated from build/cmake/config.h.in by cmake configure */
Packit 0b5880
/*
Packit 0b5880
 * Check: a unit test framework for C
Packit 0b5880
 *
Packit 0b5880
 * Copyright (C) 2011 Mateusz Loskot
Packit 0b5880
 * Copyright (C) 2001, 2002 Arien Malec
Packit 0b5880
 *
Packit 0b5880
 * This library is free software; you can redistribute it and/or
Packit 0b5880
 * modify it under the terms of the GNU Lesser General Public
Packit 0b5880
 * License as published by the Free Software Foundation; either
Packit 0b5880
 * version 2.1 of the License, or (at your option) any later version.
Packit 0b5880
 *
Packit 0b5880
 * This library is distributed in the hope that it will be useful,
Packit 0b5880
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 0b5880
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 0b5880
 * Lesser General Public License for more details.
Packit 0b5880
 *
Packit 0b5880
 * You should have received a copy of the GNU Lesser General Public
Packit 0b5880
 * License along with this library; if not, write to the
Packit 0b5880
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Packit 0b5880
 * Boston, MA 02111-1307, USA.
Packit 0b5880
 */
Packit 0b5880
Packit 0b5880
#if defined(__osf__)
Packit 0b5880
# define _OSF_SOURCE
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
/*
Packit 0b5880
 * Ensure we have C99-style int64_t, etc, all defined.
Packit 0b5880
 */
Packit 0b5880
Packit 0b5880
/* First, we need to know if the system has already defined them. */
Packit 0b5880
#cmakedefine HAVE_INT16_T
Packit 0b5880
#cmakedefine HAVE_INT32_T
Packit 0b5880
#cmakedefine HAVE_INT64_T
Packit 0b5880
#cmakedefine HAVE_INTMAX_T
Packit 0b5880
Packit 0b5880
#cmakedefine HAVE_UINT8_T
Packit 0b5880
#cmakedefine HAVE_UINT16_T
Packit 0b5880
#cmakedefine HAVE_UINT32_T
Packit 0b5880
#cmakedefine HAVE_UINT64_T
Packit 0b5880
#cmakedefine HAVE_UINTMAX_T
Packit 0b5880
Packit 0b5880
/* We might have the types we want under other spellings. */
Packit 0b5880
#cmakedefine HAVE___INT64
Packit 0b5880
#cmakedefine HAVE_U_INT64_T
Packit 0b5880
#cmakedefine HAVE_UNSIGNED___INT64
Packit 0b5880
Packit 0b5880
/* The sizes of various standard integer types. */
Packit 0b5880
@SIZE_OF_SHORT_CODE@
Packit 0b5880
@SIZE_OF_INT_CODE@
Packit 0b5880
@SIZE_OF_LONG_CODE@
Packit 0b5880
@SIZE_OF_LONG_LONG_CODE@
Packit 0b5880
@SIZE_OF_UNSIGNED_SHORT_CODE@
Packit 0b5880
@SIZE_OF_UNSIGNED_CODE@
Packit 0b5880
@SIZE_OF_UNSIGNED_LONG_CODE@
Packit 0b5880
@SIZE_OF_UNSIGNED_LONG_LONG_CODE@
Packit 0b5880
Packit 0b5880
/*
Packit 0b5880
 * If we lack int64_t, define it to the first of __int64, int, long, and long long
Packit 0b5880
 * that exists and is the right size.
Packit 0b5880
 */
Packit 0b5880
#if !defined(HAVE_INT64_T) && defined(HAVE___INT64)
Packit 0b5880
typedef __int64 int64_t;
Packit 0b5880
#define HAVE_INT64_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8
Packit 0b5880
typedef int int64_t;
Packit 0b5880
#define HAVE_INT64_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8
Packit 0b5880
typedef long int64_t;
Packit 0b5880
#define HAVE_INT64_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8
Packit 0b5880
typedef long long int64_t;
Packit 0b5880
#define HAVE_INT64_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_INT64_T)
Packit 0b5880
#error No 64-bit integer type was found.
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
/*
Packit 0b5880
 * Similarly for int32_t
Packit 0b5880
 */
Packit 0b5880
#if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4
Packit 0b5880
typedef long int32_t;
Packit 0b5880
#define HAVE_INT32_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4
Packit 0b5880
typedef long int32_t;
Packit 0b5880
#define HAVE_INT32_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_INT32_T)
Packit 0b5880
#error No 32-bit integer type was found.
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
/*
Packit 0b5880
 * Similarly for int16_t
Packit 0b5880
 */
Packit 0b5880
#if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2
Packit 0b5880
typedef int int16_t;
Packit 0b5880
#define HAVE_INT16_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2
Packit 0b5880
typedef short int16_t;
Packit 0b5880
#define HAVE_INT16_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_INT16_T)
Packit 0b5880
#error No 16-bit integer type was found.
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
/*
Packit 0b5880
 * Similarly for uint64_t
Packit 0b5880
 */
Packit 0b5880
#if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64)
Packit 0b5880
typedef unsigned __int64 uint64_t;
Packit 0b5880
#define HAVE_UINT64_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8
Packit 0b5880
typedef unsigned uint64_t;
Packit 0b5880
#define HAVE_UINT64_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8
Packit 0b5880
typedef unsigned long uint64_t;
Packit 0b5880
#define HAVE_UINT64_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8
Packit 0b5880
typedef unsigned long long uint64_t;
Packit 0b5880
#define HAVE_UINT64_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_UINT64_T)
Packit 0b5880
#error No 64-bit unsigned integer type was found.
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
Packit 0b5880
/*
Packit 0b5880
 * Similarly for uint32_t
Packit 0b5880
 */
Packit 0b5880
#if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4
Packit 0b5880
typedef unsigned uint32_t;
Packit 0b5880
#define HAVE_UINT32_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4
Packit 0b5880
typedef unsigned long uint32_t;
Packit 0b5880
#define HAVE_UINT32_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_UINT32_T)
Packit 0b5880
#error No 32-bit unsigned integer type was found.
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
/*
Packit 0b5880
 * Similarly for uint16_t
Packit 0b5880
 */
Packit 0b5880
#if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2
Packit 0b5880
typedef unsigned uint16_t;
Packit 0b5880
#define HAVE_UINT16_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2
Packit 0b5880
typedef unsigned short uint16_t;
Packit 0b5880
#define HAVE_UINT16_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_UINT16_T)
Packit 0b5880
#error No 16-bit unsigned integer type was found.
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
/*
Packit 0b5880
 * Similarly for uint8_t
Packit 0b5880
 */
Packit 0b5880
#if !defined(HAVE_UINT8_T)
Packit 0b5880
typedef unsigned char uint8_t;
Packit 0b5880
#define HAVE_UINT8_T
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_UINT16_T)
Packit 0b5880
#error No 8-bit unsigned integer type was found.
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
/* Define intmax_t and uintmax_t if they are not already defined. */
Packit 0b5880
#if !defined(HAVE_INTMAX_T)
Packit 0b5880
typedef int64_t intmax_t;
Packit 0b5880
#define INTMAX_MIN INT64_MIN
Packit 0b5880
#define INTMAX_MAX INT64_MAX
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
#if !defined(HAVE_UINTMAX_T)
Packit 0b5880
typedef uint64_t uintmax_t;
Packit 0b5880
#endif
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you
Packit 0b5880
   don't. */
Packit 0b5880
#cmakedefine HAVE_DECL_INT64_MAX 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you
Packit 0b5880
   don't. */
Packit 0b5880
#cmakedefine HAVE_DECL_INT64_MIN 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you
Packit 0b5880
   don't. */
Packit 0b5880
#cmakedefine HAVE_DECL_SIZE_MAX 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you
Packit 0b5880
   don't. */
Packit 0b5880
#cmakedefine HAVE_DECL_SSIZE_MAX 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you
Packit 0b5880
   don't. */
Packit 0b5880
#cmakedefine HAVE_DECL_UINT32_MAX 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you
Packit 0b5880
   don't. */
Packit 0b5880
#cmakedefine HAVE_DECL_UINT64_MAX 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the <errno.h> header file. */
Packit 0b5880
#cmakedefine HAVE_ERRNO_H 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the `fork' function. */
Packit 0b5880
#cmakedefine HAVE_FORK 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the `getpid' function. */
Packit 0b5880
#cmakedefine HAVE_GETPID 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the `gettimeofday' function. */
Packit 0b5880
#cmakedefine HAVE_GETTIMEOFDAY 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the <inttypes.h> header file. */
Packit 0b5880
#cmakedefine HAVE_INTTYPES_H 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the <limits.h> header file. */
Packit 0b5880
#cmakedefine HAVE_LIMITS_H 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the `localtime_r' function. */
Packit 0b5880
#cmakedefine HAVE_DECL_LOCALTIME_R 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the `localtime_s' function. */
Packit 0b5880
#cmakedefine HAVE_LOCALTIME_S 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if the system has the type `long long int'. */
Packit 0b5880
#cmakedefine HAVE_LONG_LONG_INT 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the `malloc' function. */
Packit 0b5880
#cmakedefine HAVE_MALLOC 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the `realloc' function. */
Packit 0b5880
#cmakedefine HAVE_REALLOC 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the `setenv' function. */
Packit 0b5880
#cmakedefine HAVE_DECL_SETENV 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the <signal.h> header file. */
Packit 0b5880
#cmakedefine HAVE_SIGNAL_H 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the 'sigaction' function. */
Packit 0b5880
#cmakedefine HAVE_SIGACTION 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the <stdarg.h> header file. */
Packit 0b5880
#cmakedefine HAVE_STDARG_H 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the <stdint.h> header file. */
Packit 0b5880
#cmakedefine HAVE_STDINT_H 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the <stdlib.h> header file. */
Packit 0b5880
#cmakedefine HAVE_STDLIB_H 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the `strdup' function. */
Packit 0b5880
#cmakedefine HAVE_DECL_STRDUP 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the <strings.h> header file. */
Packit 0b5880
#cmakedefine HAVE_STRINGS_H 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the <string.h> header file. */
Packit 0b5880
#cmakedefine HAVE_STRING_H 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the `strsignal' function. */
Packit 0b5880
#cmakedefine HAVE_DECL_STRSIGNAL 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the <sys/time.h> header file. */
Packit 0b5880
#cmakedefine HAVE_SYS_TIME_H 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the <sys/types.h> header file. */
Packit 0b5880
#cmakedefine HAVE_SYS_TYPES_H 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the <time.h> header file. */
Packit 0b5880
#cmakedefine HAVE_TIME_H 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if the system has the type `unsigned long long'. */
Packit 0b5880
#cmakedefine HAVE_UNSIGNED_LONG_LONG 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if the system has the type `unsigned long long int'. */
Packit 0b5880
#cmakedefine HAVE_UNSIGNED_LONG_LONG_INT 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if the system has the type `wchar_t'. */
Packit 0b5880
#cmakedefine HAVE_WCHAR_T 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the `_getpid' function. */
Packit 0b5880
#cmakedefine HAVE__GETPID 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the `_localtime64_s' function. */
Packit 0b5880
#cmakedefine HAVE__LOCALTIME64_S 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you have the `_strdup' function. */
Packit 0b5880
#cmakedefine HAVE__STRDUP 1
Packit 0b5880
Packit 0b5880
/* Version number of Check */
Packit 0b5880
#cmakedefine CHECK_VERSION "${CHECK_MAJOR_VERSION}.${CHECK_MINOR_VERSION}.${CHECK_MICRO_VERSION}"
Packit 0b5880
Packit 0b5880
/* The size of `wchar_t', as computed by sizeof. */
Packit 0b5880
#cmakedefine SIZEOF_WCHAR_T ${SIZEOF_WCHAR_T}
Packit 0b5880
Packit 0b5880
/* Define to 1 if strerror_r returns char *. */
Packit 0b5880
#cmakedefine STRERROR_R_CHAR_P 1
Packit 0b5880
Packit 0b5880
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
Packit 0b5880
#cmakedefine TIME_WITH_SYS_TIME 1
Packit 0b5880
Packit 0b5880
/*
Packit 0b5880
 * Some platform requires a macro to use extension functions.
Packit 0b5880
 */
Packit 0b5880
#cmakedefine SAFE_TO_DEFINE_EXTENSIONS 1
Packit 0b5880
#ifdef SAFE_TO_DEFINE_EXTENSIONS
Packit 0b5880
/* Enable extensions on AIX 3, Interix.  */
Packit 0b5880
#ifndef _ALL_SOURCE
Packit 0b5880
# define _ALL_SOURCE 1
Packit 0b5880
#endif
Packit 0b5880
/* Enable GNU extensions on systems that have them.  */
Packit 0b5880
#ifndef _GNU_SOURCE
Packit 0b5880
# define _GNU_SOURCE 1
Packit 0b5880
#endif
Packit 0b5880
/* Enable threading extensions on Solaris.  */
Packit 0b5880
#ifndef _POSIX_PTHREAD_SEMANTICS
Packit 0b5880
# define _POSIX_PTHREAD_SEMANTICS 1
Packit 0b5880
#endif
Packit 0b5880
/* Enable extensions on HP NonStop.  */
Packit 0b5880
#ifndef _TANDEM_SOURCE
Packit 0b5880
# define _TANDEM_SOURCE 1
Packit 0b5880
#endif
Packit 0b5880
/* Enable general extensions on Solaris.  */
Packit 0b5880
#ifndef __EXTENSIONS__
Packit 0b5880
# define __EXTENSIONS__ 1
Packit 0b5880
#endif
Packit 0b5880
#endif /* SAFE_TO_DEFINE_EXTENSIONS */
Packit 0b5880
Packit 0b5880
/* Number of bits in a file offset, on hosts where this is settable. */
Packit 0b5880
#cmakedefine _FILE_OFFSET_BITS ${_FILE_OFFSET_BITS}
Packit 0b5880
Packit 0b5880
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
Packit 0b5880
#cmakedefine _LARGEFILE_SOURCE 1
Packit 0b5880
Packit 0b5880
/* Define for large files, on AIX-style hosts. */
Packit 0b5880
#cmakedefine _LARGE_FILES ${_LARGE_FILES}
Packit 0b5880
Packit 0b5880
/* Define for Windows to use Windows 2000+ APIs. */
Packit 0b5880
#cmakedefine _WIN32_WINNT ${_WIN32_WINNT}
Packit 0b5880
#cmakedefine WINVER ${WINVER}
Packit 0b5880
Packit 0b5880
/* Define to empty if `const' does not conform to ANSI C. */
Packit 0b5880
#cmakedefine const ${const}
Packit 0b5880
Packit 0b5880
/* Define to `int' if <sys/types.h> doesn't define. */
Packit 0b5880
#cmakedefine clockid_t ${clockid_t}
Packit 0b5880
Packit 0b5880
/* Define to `int' if <sys/types.h> doesn't define. */
Packit 0b5880
#cmakedefine gid_t ${gid_t}
Packit 0b5880
Packit 0b5880
/* Define to `unsigned long' if <sys/types.h> does not define. */
Packit 0b5880
#cmakedefine id_t ${id_t}
Packit 0b5880
Packit 0b5880
/* Define to `int' if <sys/types.h> does not define. */
Packit 0b5880
#cmakedefine mode_t ${mode_t}
Packit 0b5880
Packit 0b5880
/* Define to `long long' if <sys/types.h> does not define. */
Packit 0b5880
#cmakedefine off_t ${off_t}
Packit 0b5880
Packit 0b5880
/* Define to `int' if <sys/types.h> doesn't define. */
Packit 0b5880
#cmakedefine pid_t ${pid_t}
Packit 0b5880
Packit 0b5880
/* Define to `unsigned int' if <sys/types.h> does not define. */
Packit 0b5880
#cmakedefine size_t ${size_t}
Packit 0b5880
Packit 0b5880
/* Define to `int' if <sys/types.h> does not define. */
Packit 0b5880
#cmakedefine ssize_t ${ssize_t}
Packit 0b5880
Packit 0b5880
/* Define to `int' if <sys/types.h> does not define. */
Packit 0b5880
#cmakedefine timer_t ${timer_t}
Packit 0b5880
Packit 0b5880
/* Define to `int' if <sys/types.h> doesn't define. */
Packit 0b5880
#cmakedefine uid_t ${uid_t}
Packit 0b5880
Packit 0b5880
/* Define to `int' if <sys/types.h> does not define. */
Packit 0b5880
#cmakedefine intptr_t ${intptr_t}
Packit 0b5880
Packit 0b5880
/* Define to `unsigned int' if <sys/types.h> does not define. */
Packit 0b5880
#cmakedefine uintptr_t ${uintptr_t}