4200 lines
137 KiB
Plaintext
4200 lines
137 KiB
Plaintext
/* lib/config.hin. Generated from configure.ac by autoheader. */
|
|
|
|
#if defined __GNUC__ && __GNUC__ >= 15 && !defined __clang__
|
|
# pragma GCC diagnostic push
|
|
# pragma GCC diagnostic ignored "-Wtrailing-whitespace"
|
|
#endif
|
|
|
|
|
|
/* CPU and C ABI indicator */
|
|
#ifndef __i386__
|
|
#undef __i386__
|
|
#endif
|
|
#ifndef __x86_64_x32__
|
|
#undef __x86_64_x32__
|
|
#endif
|
|
#ifndef __x86_64__
|
|
#undef __x86_64__
|
|
#endif
|
|
#ifndef __alpha__
|
|
#undef __alpha__
|
|
#endif
|
|
#ifndef __arm__
|
|
#undef __arm__
|
|
#endif
|
|
#ifndef __armhf__
|
|
#undef __armhf__
|
|
#endif
|
|
#ifndef __arm64_ilp32__
|
|
#undef __arm64_ilp32__
|
|
#endif
|
|
#ifndef __arm64__
|
|
#undef __arm64__
|
|
#endif
|
|
#ifndef __hppa__
|
|
#undef __hppa__
|
|
#endif
|
|
#ifndef __hppa64__
|
|
#undef __hppa64__
|
|
#endif
|
|
#ifndef __ia64_ilp32__
|
|
#undef __ia64_ilp32__
|
|
#endif
|
|
#ifndef __ia64__
|
|
#undef __ia64__
|
|
#endif
|
|
#ifndef __loongarch32__
|
|
#undef __loongarch32__
|
|
#endif
|
|
#ifndef __loongarch64__
|
|
#undef __loongarch64__
|
|
#endif
|
|
#ifndef __m68k__
|
|
#undef __m68k__
|
|
#endif
|
|
#ifndef __mips__
|
|
#undef __mips__
|
|
#endif
|
|
#ifndef __mipsn32__
|
|
#undef __mipsn32__
|
|
#endif
|
|
#ifndef __mips64__
|
|
#undef __mips64__
|
|
#endif
|
|
#ifndef __powerpc__
|
|
#undef __powerpc__
|
|
#endif
|
|
#ifndef __powerpc64__
|
|
#undef __powerpc64__
|
|
#endif
|
|
#ifndef __powerpc64_elfv2__
|
|
#undef __powerpc64_elfv2__
|
|
#endif
|
|
#ifndef __riscv32__
|
|
#undef __riscv32__
|
|
#endif
|
|
#ifndef __riscv64__
|
|
#undef __riscv64__
|
|
#endif
|
|
#ifndef __riscv32_ilp32__
|
|
#undef __riscv32_ilp32__
|
|
#endif
|
|
#ifndef __riscv32_ilp32f__
|
|
#undef __riscv32_ilp32f__
|
|
#endif
|
|
#ifndef __riscv32_ilp32d__
|
|
#undef __riscv32_ilp32d__
|
|
#endif
|
|
#ifndef __riscv64_ilp32__
|
|
#undef __riscv64_ilp32__
|
|
#endif
|
|
#ifndef __riscv64_ilp32f__
|
|
#undef __riscv64_ilp32f__
|
|
#endif
|
|
#ifndef __riscv64_ilp32d__
|
|
#undef __riscv64_ilp32d__
|
|
#endif
|
|
#ifndef __riscv64_lp64__
|
|
#undef __riscv64_lp64__
|
|
#endif
|
|
#ifndef __riscv64_lp64f__
|
|
#undef __riscv64_lp64f__
|
|
#endif
|
|
#ifndef __riscv64_lp64d__
|
|
#undef __riscv64_lp64d__
|
|
#endif
|
|
#ifndef __s390__
|
|
#undef __s390__
|
|
#endif
|
|
#ifndef __s390x__
|
|
#undef __s390x__
|
|
#endif
|
|
#ifndef __sh__
|
|
#undef __sh__
|
|
#endif
|
|
#ifndef __sparc__
|
|
#undef __sparc__
|
|
#endif
|
|
#ifndef __sparc64__
|
|
#undef __sparc64__
|
|
#endif
|
|
|
|
|
|
/* Witness that <config.h> has been included. */
|
|
#define _GL_CONFIG_H_INCLUDED 1
|
|
|
|
|
|
/* Define if access does not correctly handle trailing slashes. */
|
|
#undef ACCESS_TRAILING_SLASH_BUG
|
|
|
|
/* Define if building universal (internal helper macro) */
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
/* Define if no multithread safety and no multithreading is desired. */
|
|
#undef AVOID_ANY_THREADS
|
|
|
|
/* Define to the number of bits in type 'ptrdiff_t'. */
|
|
#undef BITSIZEOF_PTRDIFF_T
|
|
|
|
/* Define to the number of bits in type 'sig_atomic_t'. */
|
|
#undef BITSIZEOF_SIG_ATOMIC_T
|
|
|
|
/* Define to the number of bits in type 'size_t'. */
|
|
#undef BITSIZEOF_SIZE_T
|
|
|
|
/* Define to the number of bits in type 'wchar_t'. */
|
|
#undef BITSIZEOF_WCHAR_T
|
|
|
|
/* Define to the number of bits in type 'wint_t'. */
|
|
#undef BITSIZEOF_WINT_T
|
|
|
|
/* Define if the c32rtomb function has an incorrect return value. */
|
|
#undef C32RTOMB_RETVAL_BUG
|
|
|
|
/* Define if you wish *printf() functions that have a safe handling of
|
|
non-IEEE-754 'long double' values. */
|
|
#undef CHECK_PRINTF_SAFE
|
|
|
|
/* Define to 1 if using 'alloca.c'. */
|
|
#undef C_ALLOCA
|
|
|
|
/* Define as the bit index in the word where to find bit 0 of the exponent of
|
|
'double'. */
|
|
#undef DBL_EXPBIT0_BIT
|
|
|
|
/* Define as the word index where to find the exponent of 'double'. */
|
|
#undef DBL_EXPBIT0_WORD
|
|
|
|
/* Define as the bit index in the word where to find the sign of 'double'. */
|
|
#undef DBL_SIGNBIT_BIT
|
|
|
|
/* Define as the word index where to find the sign of 'double'. */
|
|
#undef DBL_SIGNBIT_WORD
|
|
|
|
/* the name of the file descriptor member of DIR */
|
|
#undef DIR_FD_MEMBER_NAME
|
|
|
|
#ifdef DIR_FD_MEMBER_NAME
|
|
# define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME)
|
|
#else
|
|
# define DIR_TO_FD(Dir_p) -1
|
|
#endif
|
|
|
|
|
|
/* Define to 1 if // is a file system root distinct from /. */
|
|
#undef DOUBLE_SLASH_IS_DISTINCT_ROOT
|
|
|
|
/* Define if struct dirent has a member d_ino that actually works. */
|
|
#undef D_INO_IN_DIRENT
|
|
|
|
/* Define to 1 if the changeword(REGEXP) functionality is wanted */
|
|
#undef ENABLE_CHANGEWORD
|
|
|
|
/* Define to 1 if translation of program messages to the user's native
|
|
language is requested. */
|
|
#undef ENABLE_NLS
|
|
|
|
/* Define this to 1 if F_DUPFD behavior does not match POSIX */
|
|
#undef FCNTL_DUPFD_BUGGY
|
|
|
|
/* Define to nothing if C supports flexible array members, and to 1 if it does
|
|
not. That way, with a declaration like 'struct s { int n; short
|
|
d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
|
|
compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate
|
|
the size in bytes of such a struct containing an N-element array. */
|
|
#undef FLEXIBLE_ARRAY_MEMBER
|
|
|
|
/* Define as the bit index in the word where to find bit 0 of the exponent of
|
|
'float'. */
|
|
#undef FLT_EXPBIT0_BIT
|
|
|
|
/* Define as the word index where to find the exponent of 'float'. */
|
|
#undef FLT_EXPBIT0_WORD
|
|
|
|
/* Define as the bit index in the word where to find the sign of 'float'. */
|
|
#undef FLT_SIGNBIT_BIT
|
|
|
|
/* Define as the word index where to find the sign of 'float'. */
|
|
#undef FLT_SIGNBIT_WORD
|
|
|
|
/* Define to 1 if fopen() fails to recognize a trailing slash. */
|
|
#undef FOPEN_TRAILING_SLASH_BUG
|
|
|
|
/* Enable compile-time and run-time bounds-checking, and some warnings,
|
|
without upsetting newer glibc. */
|
|
#if defined __OPTIMIZE__ && __OPTIMIZE__
|
|
# ifndef _FORTIFY_SOURCE
|
|
# define _FORTIFY_SOURCE 2
|
|
# endif
|
|
#endif
|
|
|
|
|
|
/* Define to 1 if the system's ftello function has the Solaris bug. */
|
|
#undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE
|
|
|
|
/* Define to 1 if the system's ftello function has the macOS bug. */
|
|
#undef FTELLO_BROKEN_AFTER_UNGETC
|
|
|
|
/* Define to 1 if fflush is known to work on stdin as per POSIX.1-2008 or
|
|
later, 0 if fflush is known to not work, -1 if unknown. */
|
|
#undef FUNC_FFLUSH_STDIN
|
|
|
|
/* Define to 1 if mkdir mistakenly creates a directory given with a trailing
|
|
dot component. */
|
|
#undef FUNC_MKDIR_DOT_BUG
|
|
|
|
/* Define to 1 if realpath() can malloc memory, always gives an absolute path,
|
|
and handles a trailing slash correctly. */
|
|
#undef FUNC_REALPATH_NEARLY_WORKS
|
|
|
|
/* Define to 1 if realpath() can malloc memory, always gives an absolute path,
|
|
and handles leading slashes and a trailing slash correctly. */
|
|
#undef FUNC_REALPATH_WORKS
|
|
|
|
/* Define to 1 if ungetc is broken when used on arbitrary bytes. */
|
|
#undef FUNC_UNGETC_BROKEN
|
|
|
|
/* Define this to 'void' or 'struct timezone' to match the system's
|
|
declaration of the second argument to gettimeofday. */
|
|
#undef GETTIMEOFDAY_TIMEZONE
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module accept shall be considered present. */
|
|
#undef GNULIB_ACCEPT
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module bind shall be considered present. */
|
|
#undef GNULIB_BIND
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module canonicalize shall be considered present. */
|
|
#undef GNULIB_CANONICALIZE
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module canonicalize-lgpl shall be considered present. */
|
|
#undef GNULIB_CANONICALIZE_LGPL
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module close shall be considered present. */
|
|
#undef GNULIB_CLOSE
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module close-stream shall be considered present. */
|
|
#undef GNULIB_CLOSE_STREAM
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module connect shall be considered present. */
|
|
#undef GNULIB_CONNECT
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module dirname shall be considered present. */
|
|
#undef GNULIB_DIRNAME
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module fdopendir shall be considered present. */
|
|
#undef GNULIB_FDOPENDIR
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module fd-safer-flag shall be considered present. */
|
|
#undef GNULIB_FD_SAFER_FLAG
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module fflush shall be considered present. */
|
|
#undef GNULIB_FFLUSH
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module filenamecat shall be considered present. */
|
|
#undef GNULIB_FILENAMECAT
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module fopen-gnu shall be considered present. */
|
|
#undef GNULIB_FOPEN_GNU
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module fopen-safer shall be considered present. */
|
|
#undef GNULIB_FOPEN_SAFER
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module fscanf shall be considered present. */
|
|
#undef GNULIB_FSCANF
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module fstat shall be considered present. */
|
|
#undef GNULIB_FSTAT
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module fstatat shall be considered present. */
|
|
#undef GNULIB_FSTATAT
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module getcwd shall be considered present. */
|
|
#undef GNULIB_GETCWD
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module hashcode-string1 shall be considered present. */
|
|
#undef GNULIB_HASHCODE_STRING1
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module ioctl shall be considered present. */
|
|
#undef GNULIB_IOCTL
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module isblank shall be considered present. */
|
|
#undef GNULIB_ISBLANK
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module issymlink shall be considered present. */
|
|
#undef GNULIB_ISSYMLINK
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module listen shall be considered present. */
|
|
#undef GNULIB_LISTEN
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module localeconv shall be considered present. */
|
|
#undef GNULIB_LOCALECONV
|
|
|
|
/* Define to the directory where to find the localizations of the translation
|
|
domain 'gnulib', as a C string. */
|
|
#undef GNULIB_LOCALEDIR
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module lock shall be considered present. */
|
|
#undef GNULIB_LOCK
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module lstat shall be considered present. */
|
|
#undef GNULIB_LSTAT
|
|
|
|
/* Define to optimize mbrtowc. */
|
|
#undef GNULIB_MBRTOWC_SINGLE_THREAD
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module msvc-nothrow shall be considered present. */
|
|
#undef GNULIB_MSVC_NOTHROW
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module openat shall be considered present. */
|
|
#undef GNULIB_OPENAT
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module pipe2-safer shall be considered present. */
|
|
#undef GNULIB_PIPE2_SAFER
|
|
|
|
/* Define to 1 if printf and friends should be labeled with attribute
|
|
"__gnu_printf__" instead of "__printf__" */
|
|
#undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module reallocarray shall be considered present. */
|
|
#undef GNULIB_REALLOCARRAY
|
|
|
|
/* Define to optimize regex. */
|
|
#undef GNULIB_REGEX_SINGLE_THREAD
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module scanf shall be considered present. */
|
|
#undef GNULIB_SCANF
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module select shall be considered present. */
|
|
#undef GNULIB_SELECT
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module setsockopt shall be considered present. */
|
|
#undef GNULIB_SETSOCKOPT
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module sigpipe shall be considered present. */
|
|
#undef GNULIB_SIGPIPE
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module snprintf shall be considered present. */
|
|
#undef GNULIB_SNPRINTF
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module socket shall be considered present. */
|
|
#undef GNULIB_SOCKET
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module stat shall be considered present. */
|
|
#undef GNULIB_STAT
|
|
|
|
/* Define to 1 if you want the FILE stream functions getc, putc, etc. to use
|
|
unlocked I/O if available, throughout the package. Unlocked I/O can improve
|
|
performance, sometimes dramatically. But unlocked I/O is safe only in
|
|
single-threaded programs, as well as in multithreaded programs for which
|
|
you can guarantee that every FILE stream, including stdin, stdout, stderr,
|
|
is used only in a single thread. */
|
|
#undef GNULIB_STDIO_SINGLE_THREAD
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module strerror shall be considered present. */
|
|
#undef GNULIB_STRERROR
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module strerror_r-posix shall be considered present. */
|
|
#undef GNULIB_STRERROR_R_POSIX
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module tempname shall be considered present. */
|
|
#undef GNULIB_TEMPNAME
|
|
|
|
/* Define to 1 when the gnulib module accept should be tested. */
|
|
#undef GNULIB_TEST_ACCEPT
|
|
|
|
/* Define to 1 when the gnulib module access should be tested. */
|
|
#undef GNULIB_TEST_ACCESS
|
|
|
|
/* Define to 1 when the gnulib module bind should be tested. */
|
|
#undef GNULIB_TEST_BIND
|
|
|
|
/* Define to 1 when the gnulib module btoc32 should be tested. */
|
|
#undef GNULIB_TEST_BTOC32
|
|
|
|
/* Define to 1 when the gnulib module btowc should be tested. */
|
|
#undef GNULIB_TEST_BTOWC
|
|
|
|
/* Define to 1 when the gnulib module c32isalnum should be tested. */
|
|
#undef GNULIB_TEST_C32ISALNUM
|
|
|
|
/* Define to 1 when the gnulib module c32isalpha should be tested. */
|
|
#undef GNULIB_TEST_C32ISALPHA
|
|
|
|
/* Define to 1 when the gnulib module c32isblank should be tested. */
|
|
#undef GNULIB_TEST_C32ISBLANK
|
|
|
|
/* Define to 1 when the gnulib module c32iscntrl should be tested. */
|
|
#undef GNULIB_TEST_C32ISCNTRL
|
|
|
|
/* Define to 1 when the gnulib module c32isdigit should be tested. */
|
|
#undef GNULIB_TEST_C32ISDIGIT
|
|
|
|
/* Define to 1 when the gnulib module c32isgraph should be tested. */
|
|
#undef GNULIB_TEST_C32ISGRAPH
|
|
|
|
/* Define to 1 when the gnulib module c32islower should be tested. */
|
|
#undef GNULIB_TEST_C32ISLOWER
|
|
|
|
/* Define to 1 when the gnulib module c32isprint should be tested. */
|
|
#undef GNULIB_TEST_C32ISPRINT
|
|
|
|
/* Define to 1 when the gnulib module c32ispunct should be tested. */
|
|
#undef GNULIB_TEST_C32ISPUNCT
|
|
|
|
/* Define to 1 when the gnulib module c32isspace should be tested. */
|
|
#undef GNULIB_TEST_C32ISSPACE
|
|
|
|
/* Define to 1 when the gnulib module c32isupper should be tested. */
|
|
#undef GNULIB_TEST_C32ISUPPER
|
|
|
|
/* Define to 1 when the gnulib module c32isxdigit should be tested. */
|
|
#undef GNULIB_TEST_C32ISXDIGIT
|
|
|
|
/* Define to 1 when the gnulib module c32rtomb should be tested. */
|
|
#undef GNULIB_TEST_C32RTOMB
|
|
|
|
/* Define to 1 when the gnulib module c32tob should be tested. */
|
|
#undef GNULIB_TEST_C32TOB
|
|
|
|
/* Define to 1 when the gnulib module c32tolower should be tested. */
|
|
#undef GNULIB_TEST_C32TOLOWER
|
|
|
|
/* Define to 1 when the gnulib module c32width should be tested. */
|
|
#undef GNULIB_TEST_C32WIDTH
|
|
|
|
/* Define to 1 when the gnulib module calloc-gnu should be tested. */
|
|
#undef GNULIB_TEST_CALLOC_GNU
|
|
|
|
/* Define to 1 when the gnulib module calloc-posix should be tested. */
|
|
#undef GNULIB_TEST_CALLOC_POSIX
|
|
|
|
/* Define to 1 when the gnulib module canonicalize should be tested. */
|
|
#undef GNULIB_TEST_CANONICALIZE
|
|
|
|
/* Define to 1 when the gnulib module canonicalize_file_name should be tested.
|
|
*/
|
|
#undef GNULIB_TEST_CANONICALIZE_FILE_NAME
|
|
|
|
/* Define to 1 when the gnulib module chdir should be tested. */
|
|
#undef GNULIB_TEST_CHDIR
|
|
|
|
/* Define to 1 when the gnulib module cloexec should be tested. */
|
|
#undef GNULIB_TEST_CLOEXEC
|
|
|
|
/* Define to 1 when the gnulib module close should be tested. */
|
|
#undef GNULIB_TEST_CLOSE
|
|
|
|
/* Define to 1 when the gnulib module closedir should be tested. */
|
|
#undef GNULIB_TEST_CLOSEDIR
|
|
|
|
/* Define to 1 when the gnulib module connect should be tested. */
|
|
#undef GNULIB_TEST_CONNECT
|
|
|
|
/* Define to 1 when the gnulib module creat should be tested. */
|
|
#undef GNULIB_TEST_CREAT
|
|
|
|
/* Define to 1 when the gnulib module dirfd should be tested. */
|
|
#undef GNULIB_TEST_DIRFD
|
|
|
|
/* Define to 1 when the gnulib module dup should be tested. */
|
|
#undef GNULIB_TEST_DUP
|
|
|
|
/* Define to 1 when the gnulib module dup2 should be tested. */
|
|
#undef GNULIB_TEST_DUP2
|
|
|
|
/* Define to 1 when the gnulib module environ should be tested. */
|
|
#undef GNULIB_TEST_ENVIRON
|
|
|
|
/* Define to 1 when the gnulib module fchdir should be tested. */
|
|
#undef GNULIB_TEST_FCHDIR
|
|
|
|
/* Define to 1 when the gnulib module fclose should be tested. */
|
|
#undef GNULIB_TEST_FCLOSE
|
|
|
|
/* Define to 1 when the gnulib module fcntl should be tested. */
|
|
#undef GNULIB_TEST_FCNTL
|
|
|
|
/* Define to 1 when the gnulib module fdopen should be tested. */
|
|
#undef GNULIB_TEST_FDOPEN
|
|
|
|
/* Define to 1 when the gnulib module fdopendir should be tested. */
|
|
#undef GNULIB_TEST_FDOPENDIR
|
|
|
|
/* Define to 1 when the gnulib module fflush should be tested. */
|
|
#undef GNULIB_TEST_FFLUSH
|
|
|
|
/* Define to 1 when the gnulib module fgetc should be tested. */
|
|
#undef GNULIB_TEST_FGETC
|
|
|
|
/* Define to 1 when the gnulib module fgets should be tested. */
|
|
#undef GNULIB_TEST_FGETS
|
|
|
|
/* Define to 1 when the gnulib module fopen should be tested. */
|
|
#undef GNULIB_TEST_FOPEN
|
|
|
|
/* Define to 1 when the gnulib module fopen-gnu should be tested. */
|
|
#undef GNULIB_TEST_FOPEN_GNU
|
|
|
|
/* Define to 1 when the gnulib module fprintf should be tested. */
|
|
#undef GNULIB_TEST_FPRINTF
|
|
|
|
/* Define to 1 when the gnulib module fpurge should be tested. */
|
|
#undef GNULIB_TEST_FPURGE
|
|
|
|
/* Define to 1 when the gnulib module fputc should be tested. */
|
|
#undef GNULIB_TEST_FPUTC
|
|
|
|
/* Define to 1 when the gnulib module fputs should be tested. */
|
|
#undef GNULIB_TEST_FPUTS
|
|
|
|
/* Define to 1 when the gnulib module fread should be tested. */
|
|
#undef GNULIB_TEST_FREAD
|
|
|
|
/* Define to 1 when the gnulib module free-posix should be tested. */
|
|
#undef GNULIB_TEST_FREE_POSIX
|
|
|
|
/* Define to 1 when the gnulib module freopen should be tested. */
|
|
#undef GNULIB_TEST_FREOPEN
|
|
|
|
/* Define to 1 when the gnulib module frexp should be tested. */
|
|
#undef GNULIB_TEST_FREXP
|
|
|
|
/* Define to 1 when the gnulib module frexpl should be tested. */
|
|
#undef GNULIB_TEST_FREXPL
|
|
|
|
/* Define to 1 when the gnulib module fscanf should be tested. */
|
|
#undef GNULIB_TEST_FSCANF
|
|
|
|
/* Define to 1 when the gnulib module fseek should be tested. */
|
|
#undef GNULIB_TEST_FSEEK
|
|
|
|
/* Define to 1 when the gnulib module fseeko should be tested. */
|
|
#undef GNULIB_TEST_FSEEKO
|
|
|
|
/* Define to 1 when the gnulib module fstat should be tested. */
|
|
#undef GNULIB_TEST_FSTAT
|
|
|
|
/* Define to 1 when the gnulib module fstatat should be tested. */
|
|
#undef GNULIB_TEST_FSTATAT
|
|
|
|
/* Define to 1 when the gnulib module ftell should be tested. */
|
|
#undef GNULIB_TEST_FTELL
|
|
|
|
/* Define to 1 when the gnulib module ftello should be tested. */
|
|
#undef GNULIB_TEST_FTELLO
|
|
|
|
/* Define to 1 when the gnulib module ftruncate should be tested. */
|
|
#undef GNULIB_TEST_FTRUNCATE
|
|
|
|
/* Define to 1 when the gnulib module fwrite should be tested. */
|
|
#undef GNULIB_TEST_FWRITE
|
|
|
|
/* Define to 1 when the gnulib module getc should be tested. */
|
|
#undef GNULIB_TEST_GETC
|
|
|
|
/* Define to 1 when the gnulib module getchar should be tested. */
|
|
#undef GNULIB_TEST_GETCHAR
|
|
|
|
/* Define to 1 when the gnulib module getcwd should be tested. */
|
|
#undef GNULIB_TEST_GETCWD
|
|
|
|
/* Define to 1 when the gnulib module getdtablesize should be tested. */
|
|
#undef GNULIB_TEST_GETDTABLESIZE
|
|
|
|
/* Define to 1 when the gnulib module getlocalename_l-unsafe should be tested.
|
|
*/
|
|
#undef GNULIB_TEST_GETLOCALENAME_L_UNSAFE
|
|
|
|
/* Define to 1 when the gnulib module getopt-posix should be tested. */
|
|
#undef GNULIB_TEST_GETOPT_POSIX
|
|
|
|
/* Define to 1 when the gnulib module getpagesize should be tested. */
|
|
#undef GNULIB_TEST_GETPAGESIZE
|
|
|
|
/* Define to 1 when the gnulib module getprogname should be tested. */
|
|
#undef GNULIB_TEST_GETPROGNAME
|
|
|
|
/* Define to 1 when the gnulib module getrandom should be tested. */
|
|
#undef GNULIB_TEST_GETRANDOM
|
|
|
|
/* Define to 1 when the gnulib module gettimeofday should be tested. */
|
|
#undef GNULIB_TEST_GETTIMEOFDAY
|
|
|
|
/* Define to 1 when the gnulib module ioctl should be tested. */
|
|
#undef GNULIB_TEST_IOCTL
|
|
|
|
/* Define to 1 when the gnulib module isinf-no-cxx should be tested. */
|
|
#undef GNULIB_TEST_ISINF_NO_CXX
|
|
|
|
/* Define to 1 when the gnulib module iswblank should be tested. */
|
|
#undef GNULIB_TEST_ISWBLANK
|
|
|
|
/* Define to 1 when the gnulib module iswctype should be tested. */
|
|
#undef GNULIB_TEST_ISWCTYPE
|
|
|
|
/* Define to 1 when the gnulib module iswdigit should be tested. */
|
|
#undef GNULIB_TEST_ISWDIGIT
|
|
|
|
/* Define to 1 when the gnulib module iswpunct should be tested. */
|
|
#undef GNULIB_TEST_ISWPUNCT
|
|
|
|
/* Define to 1 when the gnulib module iswxdigit should be tested. */
|
|
#undef GNULIB_TEST_ISWXDIGIT
|
|
|
|
/* Define to 1 when the gnulib module link should be tested. */
|
|
#undef GNULIB_TEST_LINK
|
|
|
|
/* Define to 1 when the gnulib module listen should be tested. */
|
|
#undef GNULIB_TEST_LISTEN
|
|
|
|
/* Define to 1 when the gnulib module localeconv should be tested. */
|
|
#undef GNULIB_TEST_LOCALECONV
|
|
|
|
/* Define to 1 when the gnulib module localename-environ should be tested. */
|
|
#undef GNULIB_TEST_LOCALENAME_ENVIRON
|
|
|
|
/* Define to 1 when the gnulib module localename-unsafe should be tested. */
|
|
#undef GNULIB_TEST_LOCALENAME_UNSAFE
|
|
|
|
/* Define to 1 when the gnulib module lseek should be tested. */
|
|
#undef GNULIB_TEST_LSEEK
|
|
|
|
/* Define to 1 when the gnulib module lstat should be tested. */
|
|
#undef GNULIB_TEST_LSTAT
|
|
|
|
/* Define to 1 when the gnulib module malloc-gnu should be tested. */
|
|
#undef GNULIB_TEST_MALLOC_GNU
|
|
|
|
/* Define to 1 when the gnulib module malloc-posix should be tested. */
|
|
#undef GNULIB_TEST_MALLOC_POSIX
|
|
|
|
/* Define to 1 when the gnulib module mbrtoc32 should be tested. */
|
|
#undef GNULIB_TEST_MBRTOC32
|
|
|
|
/* Define to 1 when the gnulib module mbrtowc should be tested. */
|
|
#undef GNULIB_TEST_MBRTOWC
|
|
|
|
/* Define to 1 when the gnulib module mbsinit should be tested. */
|
|
#undef GNULIB_TEST_MBSINIT
|
|
|
|
/* Define to 1 when the gnulib module mbslen should be tested. */
|
|
#undef GNULIB_TEST_MBSLEN
|
|
|
|
/* Define to 1 when the gnulib module mbsnlen should be tested. */
|
|
#undef GNULIB_TEST_MBSNLEN
|
|
|
|
/* Define to 1 when the gnulib module mbsstr should be tested. */
|
|
#undef GNULIB_TEST_MBSSTR
|
|
|
|
/* Define to 1 when the gnulib module mbszero should be tested. */
|
|
#undef GNULIB_TEST_MBSZERO
|
|
|
|
/* Define to 1 when the gnulib module mbtowc should be tested. */
|
|
#undef GNULIB_TEST_MBTOWC
|
|
|
|
/* Define to 1 when the gnulib module memchr should be tested. */
|
|
#undef GNULIB_TEST_MEMCHR
|
|
|
|
/* Define to 1 when the gnulib module mempcpy should be tested. */
|
|
#undef GNULIB_TEST_MEMPCPY
|
|
|
|
/* Define to 1 when the gnulib module memrchr should be tested. */
|
|
#undef GNULIB_TEST_MEMRCHR
|
|
|
|
/* Define to 1 when the gnulib module memset_explicit should be tested. */
|
|
#undef GNULIB_TEST_MEMSET_EXPLICIT
|
|
|
|
/* Define to 1 when the gnulib module mkdir should be tested. */
|
|
#undef GNULIB_TEST_MKDIR
|
|
|
|
/* Define to 1 when the gnulib module mkdtemp should be tested. */
|
|
#undef GNULIB_TEST_MKDTEMP
|
|
|
|
/* Define to 1 when the gnulib module mkfifo should be tested. */
|
|
#undef GNULIB_TEST_MKFIFO
|
|
|
|
/* Define to 1 when the gnulib module mkstemp should be tested. */
|
|
#undef GNULIB_TEST_MKSTEMP
|
|
|
|
/* Define to 1 when the gnulib module nanosleep should be tested. */
|
|
#undef GNULIB_TEST_NANOSLEEP
|
|
|
|
/* Define to 1 when the gnulib module nl_langinfo should be tested. */
|
|
#undef GNULIB_TEST_NL_LANGINFO
|
|
|
|
/* Define to 1 when the gnulib module open should be tested. */
|
|
#undef GNULIB_TEST_OPEN
|
|
|
|
/* Define to 1 when the gnulib module openat should be tested. */
|
|
#undef GNULIB_TEST_OPENAT
|
|
|
|
/* Define to 1 when the gnulib module opendir should be tested. */
|
|
#undef GNULIB_TEST_OPENDIR
|
|
|
|
/* Define to 1 when the gnulib module perror should be tested. */
|
|
#undef GNULIB_TEST_PERROR
|
|
|
|
/* Define to 1 when the gnulib module pipe should be tested. */
|
|
#undef GNULIB_TEST_PIPE
|
|
|
|
/* Define to 1 when the gnulib module pipe2 should be tested. */
|
|
#undef GNULIB_TEST_PIPE2
|
|
|
|
/* Define to 1 when the gnulib module posix_spawn should be tested. */
|
|
#undef GNULIB_TEST_POSIX_SPAWN
|
|
|
|
/* Define to 1 when the gnulib module posix_spawnattr_destroy should be
|
|
tested. */
|
|
#undef GNULIB_TEST_POSIX_SPAWNATTR_DESTROY
|
|
|
|
/* Define to 1 when the gnulib module posix_spawnattr_init should be tested.
|
|
*/
|
|
#undef GNULIB_TEST_POSIX_SPAWNATTR_INIT
|
|
|
|
/* Define to 1 when the gnulib module posix_spawnattr_setflags should be
|
|
tested. */
|
|
#undef GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS
|
|
|
|
/* Define to 1 when the gnulib module posix_spawnattr_setpgroup should be
|
|
tested. */
|
|
#undef GNULIB_TEST_POSIX_SPAWNATTR_SETPGROUP
|
|
|
|
/* Define to 1 when the gnulib module posix_spawnattr_setsigmask should be
|
|
tested. */
|
|
#undef GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK
|
|
|
|
/* Define to 1 when the gnulib module posix_spawnp should be tested. */
|
|
#undef GNULIB_TEST_POSIX_SPAWNP
|
|
|
|
/* Define to 1 when the gnulib module posix_spawn_file_actions_addchdir should
|
|
be tested. */
|
|
#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR
|
|
|
|
/* Define to 1 when the gnulib module posix_spawn_file_actions_addclose should
|
|
be tested. */
|
|
#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE
|
|
|
|
/* Define to 1 when the gnulib module posix_spawn_file_actions_adddup2 should
|
|
be tested. */
|
|
#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2
|
|
|
|
/* Define to 1 when the gnulib module posix_spawn_file_actions_addopen should
|
|
be tested. */
|
|
#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN
|
|
|
|
/* Define to 1 when the gnulib module posix_spawn_file_actions_destroy should
|
|
be tested. */
|
|
#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY
|
|
|
|
/* Define to 1 when the gnulib module posix_spawn_file_actions_init should be
|
|
tested. */
|
|
#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT
|
|
|
|
/* Define to 1 when the gnulib module printf should be tested. */
|
|
#undef GNULIB_TEST_PRINTF
|
|
|
|
/* Define to 1 when the gnulib module pselect should be tested. */
|
|
#undef GNULIB_TEST_PSELECT
|
|
|
|
/* Define to 1 when the gnulib module pthread-cond should be tested. */
|
|
#undef GNULIB_TEST_PTHREAD_COND
|
|
|
|
/* Define to 1 when the gnulib module pthread-mutex should be tested. */
|
|
#undef GNULIB_TEST_PTHREAD_MUTEX
|
|
|
|
/* Define to 1 when the gnulib module pthread_mutex_timedlock should be
|
|
tested. */
|
|
#undef GNULIB_TEST_PTHREAD_MUTEX_TIMEDLOCK
|
|
|
|
/* Define to 1 when the gnulib module pthread-once should be tested. */
|
|
#undef GNULIB_TEST_PTHREAD_ONCE
|
|
|
|
/* Define to 1 when the gnulib module pthread-rwlock should be tested. */
|
|
#undef GNULIB_TEST_PTHREAD_RWLOCK
|
|
|
|
/* Define to 1 when the gnulib module pthread_sigmask should be tested. */
|
|
#undef GNULIB_TEST_PTHREAD_SIGMASK
|
|
|
|
/* Define to 1 when the gnulib module pthread-thread should be tested. */
|
|
#undef GNULIB_TEST_PTHREAD_THREAD
|
|
|
|
/* Define to 1 when the gnulib module putc should be tested. */
|
|
#undef GNULIB_TEST_PUTC
|
|
|
|
/* Define to 1 when the gnulib module putchar should be tested. */
|
|
#undef GNULIB_TEST_PUTCHAR
|
|
|
|
/* Define to 1 when the gnulib module putenv should be tested. */
|
|
#undef GNULIB_TEST_PUTENV
|
|
|
|
/* Define to 1 when the gnulib module puts should be tested. */
|
|
#undef GNULIB_TEST_PUTS
|
|
|
|
/* Define to 1 when the gnulib module raise should be tested. */
|
|
#undef GNULIB_TEST_RAISE
|
|
|
|
/* Define to 1 when the gnulib module random should be tested. */
|
|
#undef GNULIB_TEST_RANDOM
|
|
|
|
/* Define to 1 when the gnulib module random_r should be tested. */
|
|
#undef GNULIB_TEST_RANDOM_R
|
|
|
|
/* Define to 1 when the gnulib module rawmemchr should be tested. */
|
|
#undef GNULIB_TEST_RAWMEMCHR
|
|
|
|
/* Define to 1 when the gnulib module readdir should be tested. */
|
|
#undef GNULIB_TEST_READDIR
|
|
|
|
/* Define to 1 when the gnulib module readlink should be tested. */
|
|
#undef GNULIB_TEST_READLINK
|
|
|
|
/* Define to 1 when the gnulib module reallocarray should be tested. */
|
|
#undef GNULIB_TEST_REALLOCARRAY
|
|
|
|
/* Define to 1 when the gnulib module realloc-posix should be tested. */
|
|
#undef GNULIB_TEST_REALLOC_POSIX
|
|
|
|
/* Define to 1 when the gnulib module realpath should be tested. */
|
|
#undef GNULIB_TEST_REALPATH
|
|
|
|
/* Define to 1 when the gnulib module rename should be tested. */
|
|
#undef GNULIB_TEST_RENAME
|
|
|
|
/* Define to 1 when the gnulib module rewinddir should be tested. */
|
|
#undef GNULIB_TEST_REWINDDIR
|
|
|
|
/* Define to 1 when the gnulib module rmdir should be tested. */
|
|
#undef GNULIB_TEST_RMDIR
|
|
|
|
/* Define to 1 when the gnulib module scanf should be tested. */
|
|
#undef GNULIB_TEST_SCANF
|
|
|
|
/* Define to 1 when the gnulib module sched_yield should be tested. */
|
|
#undef GNULIB_TEST_SCHED_YIELD
|
|
|
|
/* Define to 1 when the gnulib module secure_getenv should be tested. */
|
|
#undef GNULIB_TEST_SECURE_GETENV
|
|
|
|
/* Define to 1 when the gnulib module select should be tested. */
|
|
#undef GNULIB_TEST_SELECT
|
|
|
|
/* Define to 1 when the gnulib module setenv should be tested. */
|
|
#undef GNULIB_TEST_SETENV
|
|
|
|
/* Define to 1 when the gnulib module setlocale should be tested. */
|
|
#undef GNULIB_TEST_SETLOCALE
|
|
|
|
/* Define to 1 when the gnulib module setlocale_null should be tested. */
|
|
#undef GNULIB_TEST_SETLOCALE_NULL
|
|
|
|
/* Define to 1 when the gnulib module setsockopt should be tested. */
|
|
#undef GNULIB_TEST_SETSOCKOPT
|
|
|
|
/* Define to 1 when the gnulib module sigaction should be tested. */
|
|
#undef GNULIB_TEST_SIGACTION
|
|
|
|
/* Define to 1 when the gnulib module signbit-no-cxx should be tested. */
|
|
#undef GNULIB_TEST_SIGNBIT_NO_CXX
|
|
|
|
/* Define to 1 when the gnulib module sigprocmask should be tested. */
|
|
#undef GNULIB_TEST_SIGPROCMASK
|
|
|
|
/* Define to 1 when the gnulib module sleep should be tested. */
|
|
#undef GNULIB_TEST_SLEEP
|
|
|
|
/* Define to 1 when the gnulib module snprintf should be tested. */
|
|
#undef GNULIB_TEST_SNPRINTF
|
|
|
|
/* Define to 1 when the gnulib module socket should be tested. */
|
|
#undef GNULIB_TEST_SOCKET
|
|
|
|
/* Define to 1 when the gnulib module stat should be tested. */
|
|
#undef GNULIB_TEST_STAT
|
|
|
|
/* Define to 1 when the gnulib module stpcpy should be tested. */
|
|
#undef GNULIB_TEST_STPCPY
|
|
|
|
/* Define to 1 when the gnulib module strchrnul should be tested. */
|
|
#undef GNULIB_TEST_STRCHRNUL
|
|
|
|
/* Define to 1 when the gnulib module strdup should be tested. */
|
|
#undef GNULIB_TEST_STRDUP
|
|
|
|
/* Define to 1 when the gnulib module strerror should be tested. */
|
|
#undef GNULIB_TEST_STRERROR
|
|
|
|
/* Define to 1 when the gnulib module strerror_r should be tested. */
|
|
#undef GNULIB_TEST_STRERROR_R
|
|
|
|
/* Define to 1 when the gnulib module stringeq should be tested. */
|
|
#undef GNULIB_TEST_STRINGEQ
|
|
|
|
/* Define to 1 when the gnulib module strncpy should be tested. */
|
|
#undef GNULIB_TEST_STRNCPY
|
|
|
|
/* Define to 1 when the gnulib module strnlen should be tested. */
|
|
#undef GNULIB_TEST_STRNLEN
|
|
|
|
/* Define to 1 when the gnulib module strsignal should be tested. */
|
|
#undef GNULIB_TEST_STRSIGNAL
|
|
|
|
/* Define to 1 when the gnulib module strstr should be tested. */
|
|
#undef GNULIB_TEST_STRSTR
|
|
|
|
/* Define to 1 when the gnulib module strtod should be tested. */
|
|
#undef GNULIB_TEST_STRTOD
|
|
|
|
/* Define to 1 when the gnulib module str_endswith should be tested. */
|
|
#undef GNULIB_TEST_STR_ENDSWITH
|
|
|
|
/* Define to 1 when the gnulib module str_startswith should be tested. */
|
|
#undef GNULIB_TEST_STR_STARTSWITH
|
|
|
|
/* Define to 1 when the gnulib module symlink should be tested. */
|
|
#undef GNULIB_TEST_SYMLINK
|
|
|
|
/* Define to 1 when the gnulib module time should be tested. */
|
|
#undef GNULIB_TEST_TIME
|
|
|
|
/* Define to 1 when the gnulib module trunc should be tested. */
|
|
#undef GNULIB_TEST_TRUNC
|
|
|
|
/* Define to 1 when the gnulib module truncl should be tested. */
|
|
#undef GNULIB_TEST_TRUNCL
|
|
|
|
/* Define to 1 when the gnulib module unsetenv should be tested. */
|
|
#undef GNULIB_TEST_UNSETENV
|
|
|
|
/* Define to 1 when the gnulib module vasprintf should be tested. */
|
|
#undef GNULIB_TEST_VASPRINTF
|
|
|
|
/* Define to 1 when the gnulib module vaszprintf should be tested. */
|
|
#undef GNULIB_TEST_VASZPRINTF
|
|
|
|
/* Define to 1 when the gnulib module vfprintf should be tested. */
|
|
#undef GNULIB_TEST_VFPRINTF
|
|
|
|
/* Define to 1 when the gnulib module vfzprintf should be tested. */
|
|
#undef GNULIB_TEST_VFZPRINTF
|
|
|
|
/* Define to 1 when the gnulib module vprintf should be tested. */
|
|
#undef GNULIB_TEST_VPRINTF
|
|
|
|
/* Define to 1 when the gnulib module vsnzprintf should be tested. */
|
|
#undef GNULIB_TEST_VSNZPRINTF
|
|
|
|
/* Define to 1 when the gnulib module vzprintf should be tested. */
|
|
#undef GNULIB_TEST_VZPRINTF
|
|
|
|
/* Define to 1 when the gnulib module waitpid should be tested. */
|
|
#undef GNULIB_TEST_WAITPID
|
|
|
|
/* Define to 1 when the gnulib module wcrtomb should be tested. */
|
|
#undef GNULIB_TEST_WCRTOMB
|
|
|
|
/* Define to 1 when the gnulib module wctob should be tested. */
|
|
#undef GNULIB_TEST_WCTOB
|
|
|
|
/* Define to 1 when the gnulib module wctomb should be tested. */
|
|
#undef GNULIB_TEST_WCTOMB
|
|
|
|
/* Define to 1 when the gnulib module wctype should be tested. */
|
|
#undef GNULIB_TEST_WCTYPE
|
|
|
|
/* Define to 1 when the gnulib module wcwidth should be tested. */
|
|
#undef GNULIB_TEST_WCWIDTH
|
|
|
|
/* Define to 1 when the gnulib module write should be tested. */
|
|
#undef GNULIB_TEST_WRITE
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module unistd-safer shall be considered present. */
|
|
#undef GNULIB_UNISTD_SAFER
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module unistr/u8-mbtoucr shall be considered present. */
|
|
#undef GNULIB_UNISTR_U8_MBTOUCR
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module unistr/u8-uctomb shall be considered present. */
|
|
#undef GNULIB_UNISTR_U8_UCTOMB
|
|
|
|
/* Define to optimize mbrtowc. */
|
|
#undef GNULIB_WCHAR_SINGLE_LOCALE
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module xalloc shall be considered present. */
|
|
#undef GNULIB_XALLOC
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module xalloc-die shall be considered present. */
|
|
#undef GNULIB_XALLOC_DIE
|
|
|
|
/* Define to 1 if you have the <afunix.h> header file. */
|
|
#undef HAVE_AFUNIX_H
|
|
|
|
/* Define if the __locale_t type contains the name of the LC_MESSAGES
|
|
category. */
|
|
#undef HAVE_AIX72_LOCALES
|
|
|
|
/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
|
|
may be supplied by this distribution. */
|
|
#undef HAVE_ALLOCA
|
|
|
|
/* Define to 1 if <alloca.h> works. */
|
|
#undef HAVE_ALLOCA_H
|
|
|
|
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
|
#undef HAVE_ARPA_INET_H
|
|
|
|
/* Define to 1 if the GCC 4.1 primitives for atomic compare-and-swap can be
|
|
used. */
|
|
#undef HAVE_ATOMIC_COMPARE_AND_SWAP_GCC41
|
|
|
|
/* Define to 1 if you have the <bcrypt.h> header file. */
|
|
#undef HAVE_BCRYPT_H
|
|
|
|
/* Define to 1 if you have the <bp-sym.h> header file. */
|
|
#undef HAVE_BP_SYM_H
|
|
|
|
/* Define to 1 if you have the 'btowc' function. */
|
|
#undef HAVE_BTOWC
|
|
|
|
/* Define to 1 if nanosleep mishandles large arguments. */
|
|
#undef HAVE_BUG_BIG_NANOSLEEP
|
|
|
|
/* Define to 1 if you have the 'canonicalize_file_name' function. */
|
|
#undef HAVE_CANONICALIZE_FILE_NAME
|
|
|
|
/* Define to 1 if you have the `catgets' function. */
|
|
#undef HAVE_CATGETS
|
|
|
|
/* Define to 1 if you have the Mac OS X function
|
|
CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */
|
|
#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES
|
|
|
|
/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
|
|
the CoreFoundation framework. */
|
|
#undef HAVE_CFPREFERENCESCOPYAPPVALUE
|
|
|
|
/* Define to 1 if you have the 'clock_getres' function. */
|
|
#undef HAVE_CLOCK_GETRES
|
|
|
|
/* Define to 1 if you have the 'clock_gettime' function. */
|
|
#undef HAVE_CLOCK_GETTIME
|
|
|
|
/* Define to 1 if you have the 'clock_settime' function. */
|
|
#undef HAVE_CLOCK_SETTIME
|
|
|
|
/* Define to 1 if you have the 'closedir' function. */
|
|
#undef HAVE_CLOSEDIR
|
|
|
|
/* Define to 1 if you have the `close_range' function. */
|
|
#undef HAVE_CLOSE_RANGE
|
|
|
|
/* Define to 1 if you have the 'confstr' function. */
|
|
#undef HAVE_CONFSTR
|
|
|
|
/* Define if the copysignf function is declared in <math.h> and available in
|
|
libc. */
|
|
#undef HAVE_COPYSIGNF_IN_LIBC
|
|
|
|
/* Define if the copysignl function is declared in <math.h> and available in
|
|
libc. */
|
|
#undef HAVE_COPYSIGNL_IN_LIBC
|
|
|
|
/* Define if the copysign function is declared in <math.h> and available in
|
|
libc. */
|
|
#undef HAVE_COPYSIGN_IN_LIBC
|
|
|
|
/* Define to 1 if you have the <crtdefs.h> header file. */
|
|
#undef HAVE_CRTDEFS_H
|
|
|
|
/* Define to 1 if the alignas and alignof keywords work. */
|
|
#undef HAVE_C_ALIGNASOF
|
|
|
|
/* Define to 1 if bool, true and false work as per C2023. */
|
|
#undef HAVE_C_BOOL
|
|
|
|
/* Define to 1 if the static_assert keyword works. */
|
|
#undef HAVE_C_STATIC_ASSERT
|
|
|
|
/* Define to 1 if C supports variable-length arrays. */
|
|
#undef HAVE_C_VARARRAYS
|
|
|
|
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
|
*/
|
|
#undef HAVE_DCGETTEXT
|
|
|
|
/* Define to 1 if you have the declaration of 'alarm', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_ALARM
|
|
|
|
/* Define to 1 if you have the declaration of 'clearerr_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_CLEARERR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'copysign', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_COPYSIGN
|
|
|
|
/* Define to 1 if you have the declaration of 'copysignf', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_COPYSIGNF
|
|
|
|
/* Define to 1 if you have the declaration of 'copysignl', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_COPYSIGNL
|
|
|
|
/* Define to 1 if you have the declaration of 'dirfd', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_DIRFD
|
|
|
|
/* Define to 1 if you have the declaration of 'ecvt', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_ECVT
|
|
|
|
/* Define to 1 if you have the declaration of 'execvpe', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_EXECVPE
|
|
|
|
/* Define to 1 if you have the declaration of 'fchdir', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_FCHDIR
|
|
|
|
/* Define to 1 if you have the declaration of 'fcloseall', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_FCLOSEALL
|
|
|
|
/* Define to 1 if you have the declaration of 'fcvt', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_FCVT
|
|
|
|
/* Define to 1 if you have the declaration of 'fdopendir', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_FDOPENDIR
|
|
|
|
/* Define to 1 if you have the declaration of 'feof_unlocked', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_FEOF_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'ferror_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FERROR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'fflush_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FFLUSH_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'fgets_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FGETS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'fileno_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FILENO_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'fpurge', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_FPURGE
|
|
|
|
/* Define to 1 if you have the declaration of 'fputc_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FPUTC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'fputs_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FPUTS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'fread_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FREAD_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'fseeko', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_FSEEKO
|
|
|
|
/* Define to 1 if you have the declaration of 'ftello', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_FTELLO
|
|
|
|
/* Define to 1 if you have the declaration of 'fwrite_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FWRITE_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'gcvt', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_GCVT
|
|
|
|
/* Define to 1 if you have the declaration of 'getchar_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_GETCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'getcwd', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_GETCWD
|
|
|
|
/* Define to 1 if you have the declaration of 'getc_unlocked', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_GETC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'getdtablesize', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_GETDTABLESIZE
|
|
|
|
/* Define to 1 if you have the declaration of 'getw', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_GETW
|
|
|
|
/* Define to 1 if you have the declaration of 'inet_pton', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_INET_PTON
|
|
|
|
/* Define to 1 if you have the declaration of 'initstate', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_INITSTATE
|
|
|
|
/* Define to 1 if you have the declaration of 'isblank', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_ISBLANK
|
|
|
|
/* Define to 1 if you have the declaration of 'isinf', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_ISINF
|
|
|
|
/* Define to 1 if you have the declaration of 'iswblank', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_ISWBLANK
|
|
|
|
/* Define to 1 if you have the declaration of 'mbrtowc', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_MBRTOWC
|
|
|
|
/* Define to 1 if you have the declaration of 'mbsinit', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_MBSINIT
|
|
|
|
/* Define to 1 if you have the declaration of 'memeq', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_MEMEQ
|
|
|
|
/* Define to 1 if you have the declaration of 'memrchr', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_MEMRCHR
|
|
|
|
/* Define to 1 if you have the declaration of 'posix_spawn', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_POSIX_SPAWN
|
|
|
|
/* Define to 1 if you have the declaration of 'program_invocation_name', and
|
|
to 0 if you don't. */
|
|
#undef HAVE_DECL_PROGRAM_INVOCATION_NAME
|
|
|
|
/* Define to 1 if you have the declaration of 'program_invocation_short_name',
|
|
and to 0 if you don't. */
|
|
#undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
|
|
|
|
/* Define to 1 if you have the declaration of 'putchar_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_PUTCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'putc_unlocked', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_PUTC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of 'putw', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_PUTW
|
|
|
|
/* Define to 1 if you have the declaration of 'setenv', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_SETENV
|
|
|
|
/* Define to 1 if you have the declaration of 'setstate', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_SETSTATE
|
|
|
|
/* Define to 1 if you have the declaration of 'sleep', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_SLEEP
|
|
|
|
/* Define to 1 if you have the declaration of 'snprintf', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_SNPRINTF
|
|
|
|
/* Define to 1 if you have the declaration of 'strdup', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_STRDUP
|
|
|
|
/* Define to 1 if you have the declaration of 'streq', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_STREQ
|
|
|
|
/* Define to 1 if you have the declaration of 'strerror_r', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_STRERROR_R
|
|
|
|
/* Define to 1 if you have the declaration of 'strnlen', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_STRNLEN
|
|
|
|
/* Define to 1 if you have the declaration of 'strsignal', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_STRSIGNAL
|
|
|
|
/* Define to 1 if you have the declaration of 'sys_siglist', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_SYS_SIGLIST
|
|
|
|
/* Define to 1 if you have the declaration of 'towlower', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_TOWLOWER
|
|
|
|
/* Define to 1 if you have the declaration of 'trunc', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_TRUNC
|
|
|
|
/* Define to 1 if you have the declaration of 'truncl', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_TRUNCL
|
|
|
|
/* Define to 1 if you have the declaration of 'unsetenv', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_UNSETENV
|
|
|
|
/* Define to 1 if you have the declaration of 'wcrtomb', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_WCRTOMB
|
|
|
|
/* Define to 1 if you have the declaration of 'wcsdup', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_WCSDUP
|
|
|
|
/* Define to 1 if you have the declaration of 'wcwidth', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_WCWIDTH
|
|
|
|
/* Define to 1 if you have the declaration of '_fseeki64', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL__FSEEKI64
|
|
|
|
/* Define to 1 if you have the declaration of '_putenv', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL__PUTENV
|
|
|
|
/* Define to 1 if you have the declaration of '_snprintf', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL__SNPRINTF
|
|
|
|
/* Define to 1 if you have the declaration of '_sys_siglist', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL__SYS_SIGLIST
|
|
|
|
/* Define to 1 if you have the declaration of '__argv', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL___ARGV
|
|
|
|
/* Define to 1 if you have the declaration of '__fpending', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL___FPENDING
|
|
|
|
/* Define to 1 if you have the <dirent.h> header file. */
|
|
#undef HAVE_DIRENT_H
|
|
|
|
/* Define to 1 if you have the 'dirfd' function. */
|
|
#undef HAVE_DIRFD
|
|
|
|
/* Define to 1 if you have the `duplocale' function. */
|
|
#undef HAVE_DUPLOCALE
|
|
|
|
/* Define if you have the declaration of environ. */
|
|
#undef HAVE_ENVIRON_DECL
|
|
|
|
/* Define to 1 if you have the `error' function. */
|
|
#undef HAVE_ERROR
|
|
|
|
/* Define to 1 if you have the <error.h> header file. */
|
|
#undef HAVE_ERROR_H
|
|
|
|
/* Define to 1 if you have the 'explicit_memset' function. */
|
|
#undef HAVE_EXPLICIT_MEMSET
|
|
|
|
/* Define to 1 if you have the `faccessat' function. */
|
|
#undef HAVE_FACCESSAT
|
|
|
|
/* Define if the locale_t type contains insufficient information, as on
|
|
OpenBSD. */
|
|
#undef HAVE_FAKE_LOCALES
|
|
|
|
/* Define to 1 if you have the 'fchdir' function. */
|
|
#undef HAVE_FCHDIR
|
|
|
|
/* Define to 1 if you have the 'fcntl' function. */
|
|
#undef HAVE_FCNTL
|
|
|
|
/* Define to 1 if you have the 'fdopendir' function. */
|
|
#undef HAVE_FDOPENDIR
|
|
|
|
/* Define to 1 if you have the <features.h> header file. */
|
|
#undef HAVE_FEATURES_H
|
|
|
|
/* Define to 1 if you have the 'fpurge' function. */
|
|
#undef HAVE_FPURGE
|
|
|
|
/* Define to 1 if you have the `freelocale' function. */
|
|
#undef HAVE_FREELOCALE
|
|
|
|
/* Define if the 'free' function is guaranteed to preserve errno. */
|
|
#undef HAVE_FREE_POSIX
|
|
|
|
/* Define if the frexp() function is available and works. */
|
|
#undef HAVE_FREXP
|
|
|
|
/* Define if the frexpl() function is available. */
|
|
#undef HAVE_FREXPL
|
|
|
|
/* Define if the frexpl function is available in libc. */
|
|
#undef HAVE_FREXPL_IN_LIBC
|
|
|
|
/* Define if the frexp function is available in libc. */
|
|
#undef HAVE_FREXP_IN_LIBC
|
|
|
|
/* Define to 1 if the system has the fseeko function. */
|
|
#undef HAVE_FSEEKO
|
|
|
|
/* Define to 1 if you have the 'fstatat' function. */
|
|
#undef HAVE_FSTATAT
|
|
|
|
/* Define to 1 if the system has the ftello function. */
|
|
#undef HAVE_FTELLO
|
|
|
|
/* Define to 1 if you have the `ftruncate' function. */
|
|
#undef HAVE_FTRUNCATE
|
|
|
|
/* Define to 1 if you have the 'getcwd' function. */
|
|
#undef HAVE_GETCWD
|
|
|
|
/* Define to 1 if getcwd works, but with shorter paths than is generally
|
|
tested with the replacement. */
|
|
#undef HAVE_GETCWD_SHORTER
|
|
|
|
/* Define to 1 if you have the 'getdtablesize' function. */
|
|
#undef HAVE_GETDTABLESIZE
|
|
|
|
/* Define to 1 if you have the 'getegid' function. */
|
|
#undef HAVE_GETEGID
|
|
|
|
/* Define to 1 if you have the 'geteuid' function. */
|
|
#undef HAVE_GETEUID
|
|
|
|
/* Define to 1 if you have the 'getexecname' function. */
|
|
#undef HAVE_GETEXECNAME
|
|
|
|
/* Define to 1 if you have the 'getgid' function. */
|
|
#undef HAVE_GETGID
|
|
|
|
/* Define to 1 if you have the 'getlocalename_l' function. */
|
|
#undef HAVE_GETLOCALENAME_L
|
|
|
|
/* Define to 1 if you have the <getopt.h> header file. */
|
|
#undef HAVE_GETOPT_H
|
|
|
|
/* Define to 1 if you have the 'getopt_long_only' function. */
|
|
#undef HAVE_GETOPT_LONG_ONLY
|
|
|
|
/* Define to 1 if you have the `getprogname' function. */
|
|
#undef HAVE_GETPROGNAME
|
|
|
|
/* Define to 1 if you have the `getrandom' function. */
|
|
#undef HAVE_GETRANDOM
|
|
|
|
/* Define to 1 if you have the 'getrlimit' function. */
|
|
#undef HAVE_GETRLIMIT
|
|
|
|
/* Define if the GNU gettext() function is already present or preinstalled. */
|
|
#undef HAVE_GETTEXT
|
|
|
|
/* Define to 1 if you have the 'gettimeofday' function. */
|
|
#undef HAVE_GETTIMEOFDAY
|
|
|
|
/* Define to 1 if you have the 'getuid' function. */
|
|
#undef HAVE_GETUID
|
|
|
|
/* Define if the uselocale function exists, may be safely called, and returns
|
|
sufficient information. */
|
|
#undef HAVE_GOOD_USELOCALE
|
|
|
|
/* Define if you have the iconv() function and it works. */
|
|
#undef HAVE_ICONV
|
|
|
|
/* Define to 1 if you have the <iconv.h> header file. */
|
|
#undef HAVE_ICONV_H
|
|
|
|
/* Define to 1 if you have the 'inet_pton' function. */
|
|
#undef HAVE_INET_PTON
|
|
|
|
/* Define to 1 if you have the `initstate' function. */
|
|
#undef HAVE_INITSTATE
|
|
|
|
/* Define to 1 if the compiler supports one of the keywords 'inline',
|
|
'__inline__', '__inline' and effectively inlines functions marked as such.
|
|
*/
|
|
#undef HAVE_INLINE
|
|
|
|
/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
|
|
#undef HAVE_INTMAX_T
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
|
|
declares uintmax_t. */
|
|
#undef HAVE_INTTYPES_H_WITH_UINTMAX
|
|
|
|
/* Define to 1 if you have the 'ioctl' function. */
|
|
#undef HAVE_IOCTL
|
|
|
|
/* Define to 1 if <sys/socket.h> defines AF_INET. */
|
|
#undef HAVE_IPV4
|
|
|
|
/* Define to 1 if <sys/socket.h> defines AF_INET6. */
|
|
#undef HAVE_IPV6
|
|
|
|
/* Define to 1 if you have the 'isblank' function. */
|
|
#undef HAVE_ISBLANK
|
|
|
|
/* Define if the isnan(double) function is available in libc. */
|
|
#undef HAVE_ISNAND_IN_LIBC
|
|
|
|
/* Define if the isnan(float) function is available in libc. */
|
|
#undef HAVE_ISNANF_IN_LIBC
|
|
|
|
/* Define if the isnan(long double) function is available in libc. */
|
|
#undef HAVE_ISNANL_IN_LIBC
|
|
|
|
/* Define to 1 if you have the `issetugid' function. */
|
|
#undef HAVE_ISSETUGID
|
|
|
|
/* Define to 1 if you have the `iswblank' function. */
|
|
#undef HAVE_ISWBLANK
|
|
|
|
/* Define to 1 if you have the 'iswcntrl' function. */
|
|
#undef HAVE_ISWCNTRL
|
|
|
|
/* Define to 1 if you have the 'iswctype' function. */
|
|
#undef HAVE_ISWCTYPE
|
|
|
|
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
|
#undef HAVE_LANGINFO_CODESET
|
|
|
|
/* Define to 1 if you have the <langinfo.h> header file. */
|
|
#undef HAVE_LANGINFO_H
|
|
|
|
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
|
#undef HAVE_LC_MESSAGES
|
|
|
|
/* Define if the ldexpl function is available in libc. */
|
|
#undef HAVE_LDEXPL_IN_LIBC
|
|
|
|
/* Define if the ldexp function is available in libc. */
|
|
#undef HAVE_LDEXP_IN_LIBC
|
|
|
|
/* Define to 1 if you have the <libcx/spawn2.h> header file. */
|
|
#undef HAVE_LIBCX_SPAWN2_H
|
|
|
|
/* Define to 1 if you have the <libintl.h> header file. */
|
|
#undef HAVE_LIBINTL_H
|
|
|
|
/* Define if you have the libsigsegv library. */
|
|
#undef HAVE_LIBSIGSEGV
|
|
|
|
/* Define to 1 if the bcrypt library is guaranteed to be present. */
|
|
#undef HAVE_LIB_BCRYPT
|
|
|
|
/* Define to 1 if you have the <limits.h> header file. */
|
|
#undef HAVE_LIMITS_H
|
|
|
|
/* Define to 1 if you have the 'link' function. */
|
|
#undef HAVE_LINK
|
|
|
|
/* Define to 1 if the system has the type 'long long int'. */
|
|
#undef HAVE_LONG_LONG_INT
|
|
|
|
/* Define to 1 if you have the 'lstat' function. */
|
|
#undef HAVE_LSTAT
|
|
|
|
/* Define to 1 if malloc (0) returns nonnull. */
|
|
#undef HAVE_MALLOC_0_NONNULL
|
|
|
|
/* Define to 1 if you have the <malloc.h> header file. */
|
|
#undef HAVE_MALLOC_H
|
|
|
|
/* Define if malloc and calloc set errno on allocation failure. */
|
|
#undef HAVE_MALLOC_POSIX
|
|
|
|
/* Define to 1 if malloc-like functions do not allocate objects larger than
|
|
PTRDIFF_MAX bytes. */
|
|
#undef HAVE_MALLOC_PTRDIFF
|
|
|
|
/* Define to 1 if you have the <math.h> header file. */
|
|
#undef HAVE_MATH_H
|
|
|
|
/* Define to 1 if you have the 'mbrtowc' function. */
|
|
#undef HAVE_MBRTOWC
|
|
|
|
/* Define to 1 if you have the 'mbsinit' function. */
|
|
#undef HAVE_MBSINIT
|
|
|
|
/* Define to 1 if you have the 'mbslen' function. */
|
|
#undef HAVE_MBSLEN
|
|
|
|
/* Define to 1 if <wchar.h> declares mbstate_t. */
|
|
#undef HAVE_MBSTATE_T
|
|
|
|
/* Define to 1 if you have the `mbtowc' function. */
|
|
#undef HAVE_MBTOWC
|
|
|
|
/* Define to 1 if you have the `mempcpy' function. */
|
|
#undef HAVE_MEMPCPY
|
|
|
|
/* Define to 1 if you have the 'memrchr' function. */
|
|
#undef HAVE_MEMRCHR
|
|
|
|
/* Define to 1 if you have the `memset_explicit' function. */
|
|
#undef HAVE_MEMSET_EXPLICIT
|
|
|
|
/* Define to 1 if you have the 'memset_s' function. */
|
|
#undef HAVE_MEMSET_S
|
|
|
|
/* Define to 1 if memset_s support zero-length operations. */
|
|
#undef HAVE_MEMSET_S_SUPPORTS_ZERO
|
|
|
|
/* Define to 1 if getcwd minimally works, that is, its result can be trusted
|
|
when it succeeds. */
|
|
#undef HAVE_MINIMALLY_WORKING_GETCWD
|
|
|
|
/* Define to 1 if you have the <minix/config.h> header file. */
|
|
#undef HAVE_MINIX_CONFIG_H
|
|
|
|
/* Define to 1 if <limits.h> defines the MIN and MAX macros. */
|
|
#undef HAVE_MINMAX_IN_LIMITS_H
|
|
|
|
/* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */
|
|
#undef HAVE_MINMAX_IN_SYS_PARAM_H
|
|
|
|
/* Define to 1 if you have the 'mkdtemp' function. */
|
|
#undef HAVE_MKDTEMP
|
|
|
|
/* Define to 1 if you have a 'mkfifo' function. */
|
|
#undef HAVE_MKFIFO
|
|
|
|
/* Define to 1 if you have the 'mkstemp' function. */
|
|
#undef HAVE_MKSTEMP
|
|
|
|
/* Define to 1 if you have the 'mprotect' function. */
|
|
#undef HAVE_MPROTECT
|
|
|
|
/* Define to 1 if you have the 'mquery' function. */
|
|
#undef HAVE_MQUERY
|
|
|
|
/* Define to 1 on MSVC platforms that have the "invalid parameter handler"
|
|
concept. */
|
|
#undef HAVE_MSVC_INVALID_PARAMETER_HANDLER
|
|
|
|
/* Define if the locale_t type does not contain the name of each locale
|
|
category. */
|
|
#undef HAVE_NAMELESS_LOCALES
|
|
|
|
/* Define to 1 if you have the <netdb.h> header file. */
|
|
#undef HAVE_NETDB_H
|
|
|
|
/* Define to 1 if you have the <netinet/in.h> header file. */
|
|
#undef HAVE_NETINET_IN_H
|
|
|
|
/* Define to 1 if you have the `newlocale' function. */
|
|
#undef HAVE_NEWLOCALE
|
|
|
|
/* Define to 1 if you have the `nl_langinfo' function. */
|
|
#undef HAVE_NL_LANGINFO
|
|
|
|
/* Define to 1 if you have the <obstack.h> header file. */
|
|
#undef HAVE_OBSTACK_H
|
|
|
|
/* Define to 1 if you have the 'openat' function. */
|
|
#undef HAVE_OPENAT
|
|
|
|
/* Define to 1 if you have the 'opendir' function. */
|
|
#undef HAVE_OPENDIR
|
|
|
|
/* Define to 1 if you have the <OS.h> header file. */
|
|
#undef HAVE_OS_H
|
|
|
|
/* Define to 1 if getcwd works, except it sometimes fails when it shouldn't,
|
|
setting errno to ERANGE, ENAMETOOLONG, or ENOENT. */
|
|
#undef HAVE_PARTLY_WORKING_GETCWD
|
|
|
|
/* Define to 1 if you have the <paths.h> header file. */
|
|
#undef HAVE_PATHS_H
|
|
|
|
/* Define to 1 if you have the 'pipe' function. */
|
|
#undef HAVE_PIPE
|
|
|
|
/* Define to 1 if you have the `pipe2' function. */
|
|
#undef HAVE_PIPE2
|
|
|
|
/* Define to 1 if you have the `posix_spawn' function. */
|
|
#undef HAVE_POSIX_SPAWN
|
|
|
|
/* Define to 1 if the system has the type 'posix_spawnattr_t'. */
|
|
#undef HAVE_POSIX_SPAWNATTR_T
|
|
|
|
/* Define to 1 if you have the 'posix_spawn_file_actions_addchdir' function.
|
|
*/
|
|
#undef HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR
|
|
|
|
/* Define to 1 if you have the `posix_spawn_file_actions_addchdir_np'
|
|
function. */
|
|
#undef HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP
|
|
|
|
/* Define to 1 if the system has the type 'posix_spawn_file_actions_t'. */
|
|
#undef HAVE_POSIX_SPAWN_FILE_ACTIONS_T
|
|
|
|
/* Define to 1 if you have the 'pselect' function. */
|
|
#undef HAVE_PSELECT
|
|
|
|
/* Define to 1 if you have the 'pstat_getprocvm' function. */
|
|
#undef HAVE_PSTAT_GETPROCVM
|
|
|
|
/* Define if you have the <pthread.h> header and the POSIX threads API. */
|
|
#undef HAVE_PTHREAD_API
|
|
|
|
/* Define to 1 if you have the `pthread_atfork' function. */
|
|
#undef HAVE_PTHREAD_ATFORK
|
|
|
|
/* Define to 1 if you have the <pthread.h> header file. */
|
|
#undef HAVE_PTHREAD_H
|
|
|
|
/* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
|
|
#undef HAVE_PTHREAD_MUTEX_RECURSIVE
|
|
|
|
/* Define if the POSIX multithreading library has read/write locks. */
|
|
#undef HAVE_PTHREAD_RWLOCK
|
|
|
|
/* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a
|
|
reader. */
|
|
#undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER
|
|
|
|
/* Define to 1 if the pthread_sigmask function can be used (despite bugs). */
|
|
#undef HAVE_PTHREAD_SIGMASK
|
|
|
|
/* Define to 1 if the system has the type 'pthread_spinlock_t'. */
|
|
#undef HAVE_PTHREAD_SPINLOCK_T
|
|
|
|
/* Define to 1 if the system has the type 'pthread_t'. */
|
|
#undef HAVE_PTHREAD_T
|
|
|
|
/* Define to 1 if you have the 'raise' function. */
|
|
#undef HAVE_RAISE
|
|
|
|
/* Define to 1 if you have the <random.h> header file. */
|
|
#undef HAVE_RANDOM_H
|
|
|
|
/* Define to 1 if you have the 'random_r' function. */
|
|
#undef HAVE_RANDOM_R
|
|
|
|
/* Define to 1 if you have the 'rawmemchr' function. */
|
|
#undef HAVE_RAWMEMCHR
|
|
|
|
/* Define to 1 if you have the 'readdir' function. */
|
|
#undef HAVE_READDIR
|
|
|
|
/* Define to 1 if you have the 'readlink' function. */
|
|
#undef HAVE_READLINK
|
|
|
|
/* Define to 1 if you have the `reallocarray' function. */
|
|
#undef HAVE_REALLOCARRAY
|
|
|
|
/* Define to 1 if realloc (..., 0) returns nonnull. */
|
|
#undef HAVE_REALLOC_0_NONNULL
|
|
|
|
/* Define if realloc sets errno on allocation failure. */
|
|
#undef HAVE_REALLOC_POSIX
|
|
|
|
/* Define to 1 if you have the 'realpath' function. */
|
|
#undef HAVE_REALPATH
|
|
|
|
/* Define to 1 if you have the 'rewinddir' function. */
|
|
#undef HAVE_REWINDDIR
|
|
|
|
/* Define to 1 if 'long double' and 'double' have the same representation. */
|
|
#undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
|
|
|
|
/* Define to 1 if the system has the type 'sa_family_t'. */
|
|
#undef HAVE_SA_FAMILY_T
|
|
|
|
/* Define to 1 if you have the <sched.h> header file. */
|
|
#undef HAVE_SCHED_H
|
|
|
|
/* Define to 1 if you have the 'sched_setparam' function. */
|
|
#undef HAVE_SCHED_SETPARAM
|
|
|
|
/* Define to 1 if you have the 'sched_setscheduler' function. */
|
|
#undef HAVE_SCHED_SETSCHEDULER
|
|
|
|
/* Define to 1 if you have the <sdkddkver.h> header file. */
|
|
#undef HAVE_SDKDDKVER_H
|
|
|
|
/* Define to 1 if you have the <search.h> header file. */
|
|
#undef HAVE_SEARCH_H
|
|
|
|
/* Define to 1 if you have the 'secure_getenv' function. */
|
|
#undef HAVE_SECURE_GETENV
|
|
|
|
/* Define to 1 if you have the <semaphore.h> header file. */
|
|
#undef HAVE_SEMAPHORE_H
|
|
|
|
/* Define to 1 if you have the 'setdtablesize' function. */
|
|
#undef HAVE_SETDTABLESIZE
|
|
|
|
/* Define to 1 if you have the 'setegid' function. */
|
|
#undef HAVE_SETEGID
|
|
|
|
/* Define to 1 if you have the 'setenv' function. */
|
|
#undef HAVE_SETENV
|
|
|
|
/* Define to 1 if you have the 'seteuid' function. */
|
|
#undef HAVE_SETEUID
|
|
|
|
/* Define to 1 if you have the 'setrlimit' function. */
|
|
#undef HAVE_SETRLIMIT
|
|
|
|
/* Define to 1 if you have the `setstate' function. */
|
|
#undef HAVE_SETSTATE
|
|
|
|
/* Define to 1 if you have the 'shutdown' function. */
|
|
#undef HAVE_SHUTDOWN
|
|
|
|
/* Define to 1 if you have the 'sigaction' function. */
|
|
#undef HAVE_SIGACTION
|
|
|
|
/* Define to 1 if you have the 'sigaltstack' function. */
|
|
#undef HAVE_SIGALTSTACK
|
|
|
|
/* Define to 1 if the system has the type 'siginfo_t'. */
|
|
#undef HAVE_SIGINFO_T
|
|
|
|
/* Define to 1 if you have the 'siginterrupt' function. */
|
|
#undef HAVE_SIGINTERRUPT
|
|
|
|
/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
|
|
#undef HAVE_SIGNED_SIG_ATOMIC_T
|
|
|
|
/* Define to 1 if 'wchar_t' is a signed integer type. */
|
|
#undef HAVE_SIGNED_WCHAR_T
|
|
|
|
/* Define to 1 if 'wint_t' is a signed integer type. */
|
|
#undef HAVE_SIGNED_WINT_T
|
|
|
|
/* Define to 1 if the system has the type 'sigset_t'. */
|
|
#undef HAVE_SIGSET_T
|
|
|
|
/* Define to 1 if the system has the type 'sig_atomic_t'. */
|
|
#undef HAVE_SIG_ATOMIC_T
|
|
|
|
/* Define to 1 if you have the 'sleep' function. */
|
|
#undef HAVE_SLEEP
|
|
|
|
/* Define to 1 if you have the 'snprintf' function. */
|
|
#undef HAVE_SNPRINTF
|
|
|
|
/* Define if the return value of the snprintf function is the number of of
|
|
bytes (excluding the terminating NUL) that would have been produced if the
|
|
buffer had been large enough. */
|
|
#undef HAVE_SNPRINTF_RETVAL_C99
|
|
|
|
/* Define if the string produced by the snprintf function is always NUL
|
|
terminated. */
|
|
#undef HAVE_SNPRINTF_TRUNCATION_C99
|
|
|
|
/* Define if the locale_t type is as on Solaris 11.4. */
|
|
#undef HAVE_SOLARIS114_LOCALES
|
|
|
|
/* Define to 1 if you have the <spawn.h> header file. */
|
|
#undef HAVE_SPAWN_H
|
|
|
|
/* Define to 1 if you have the <stdbool.h> header file. */
|
|
#undef HAVE_STDBOOL_H
|
|
|
|
/* Define to 1 if you have the <stdckdint.h> header file. */
|
|
#undef HAVE_STDCKDINT_H
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#undef HAVE_STDINT_H
|
|
|
|
/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
|
|
uintmax_t. */
|
|
#undef HAVE_STDINT_H_WITH_UINTMAX
|
|
|
|
/* Define to 1 if you have the <stdio_ext.h> header file. */
|
|
#undef HAVE_STDIO_EXT_H
|
|
|
|
/* Define to 1 if you have the <stdio.h> header file. */
|
|
#undef HAVE_STDIO_H
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#undef HAVE_STDLIB_H
|
|
|
|
/* Define to 1 if you have the `stpcpy' function. */
|
|
#undef HAVE_STPCPY
|
|
|
|
/* Define to 1 if you have the `strchrnul' function. */
|
|
#undef HAVE_STRCHRNUL
|
|
|
|
/* Define to 1 if you have the `strerrorname_np' function. */
|
|
#undef HAVE_STRERRORNAME_NP
|
|
|
|
/* Define to 1 if you have the `strerror_r' function. */
|
|
#undef HAVE_STRERROR_R
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#undef HAVE_STRINGS_H
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#undef HAVE_STRING_H
|
|
|
|
/* Define to 1 if you have the 'strnlen' function. */
|
|
#undef HAVE_STRNLEN
|
|
|
|
/* Define to 1 if you have the 'strsignal' function. */
|
|
#undef HAVE_STRSIGNAL
|
|
|
|
/* Define to 1 if 'decimal_point' is a member of 'struct lconv'. */
|
|
#undef HAVE_STRUCT_LCONV_DECIMAL_POINT
|
|
|
|
/* Define to 1 if 'int_p_cs_precedes' is a member of 'struct lconv'. */
|
|
#undef HAVE_STRUCT_LCONV_INT_P_CS_PRECEDES
|
|
|
|
/* Define to 1 if the system has the type 'struct random_data'. */
|
|
#undef HAVE_STRUCT_RANDOM_DATA
|
|
|
|
/* Define to 1 if 'sa_sigaction' is a member of 'struct sigaction'. */
|
|
#undef HAVE_STRUCT_SIGACTION_SA_SIGACTION
|
|
|
|
/* Define to 1 if the system has the type 'struct sockaddr_storage'. */
|
|
#undef HAVE_STRUCT_SOCKADDR_STORAGE
|
|
|
|
/* Define to 1 if 'ss_family' is a member of 'struct sockaddr_storage'. */
|
|
#undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY
|
|
|
|
/* Define to 1 if 'st_atimensec' is a member of 'struct stat'. */
|
|
#undef HAVE_STRUCT_STAT_ST_ATIMENSEC
|
|
|
|
/* Define to 1 if 'st_atimespec.tv_nsec' is a member of 'struct stat'. */
|
|
#undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC
|
|
|
|
/* Define to 1 if 'st_atim.st__tim.tv_nsec' is a member of 'struct stat'. */
|
|
#undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC
|
|
|
|
/* Define to 1 if 'st_atim.tv_nsec' is a member of 'struct stat'. */
|
|
#undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
|
|
|
|
/* Define to 1 if 'st_birthtimensec' is a member of 'struct stat'. */
|
|
#undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC
|
|
|
|
/* Define to 1 if 'st_birthtimespec.tv_nsec' is a member of 'struct stat'. */
|
|
#undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
|
|
|
|
/* Define to 1 if 'st_birthtim.tv_nsec' is a member of 'struct stat'. */
|
|
#undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC
|
|
|
|
/* Define to 1 if you have the 'symlink' function. */
|
|
#undef HAVE_SYMLINK
|
|
|
|
/* Define to 1 if you have the <sys/bitypes.h> header file. */
|
|
#undef HAVE_SYS_BITYPES_H
|
|
|
|
/* Define to 1 if you have the <sys/inttypes.h> header file. */
|
|
#undef HAVE_SYS_INTTYPES_H
|
|
|
|
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
|
#undef HAVE_SYS_IOCTL_H
|
|
|
|
/* Define to 1 if you have the <sys/mman.h> header file. */
|
|
#undef HAVE_SYS_MMAN_H
|
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
|
#undef HAVE_SYS_PARAM_H
|
|
|
|
/* Define to 1 if you have the <sys/process.h> header file. */
|
|
#undef HAVE_SYS_PROCESS_H
|
|
|
|
/* Define to 1 if you have the <sys/random.h> header file. */
|
|
#undef HAVE_SYS_RANDOM_H
|
|
|
|
/* Define to 1 if you have the <sys/select.h> header file. */
|
|
#undef HAVE_SYS_SELECT_H
|
|
|
|
/* Define to 1 if you have the <sys/single_threaded.h> header file. */
|
|
#undef HAVE_SYS_SINGLE_THREADED_H
|
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
|
#undef HAVE_SYS_SOCKET_H
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
#undef HAVE_SYS_TIME_H
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
/* Define to 1 if you have the <sys/uio.h> header file. */
|
|
#undef HAVE_SYS_UIO_H
|
|
|
|
/* Define to 1 if you have the <sys/un.h> header file. */
|
|
#undef HAVE_SYS_UN_H
|
|
|
|
/* Define to 1 if you have the <sys/wait.h> header file. */
|
|
#undef HAVE_SYS_WAIT_H
|
|
|
|
/* Define to 1 if you have the `thrd_create' function. */
|
|
#undef HAVE_THRD_CREATE
|
|
|
|
/* Define to 1 if you have the <threads.h> header file. */
|
|
#undef HAVE_THREADS_H
|
|
|
|
/* Define to 1 if you have the 'towlower' function. */
|
|
#undef HAVE_TOWLOWER
|
|
|
|
/* Define to 1 if you have the `tsearch' function. */
|
|
#undef HAVE_TSEARCH
|
|
|
|
/* Define to 1 if you have the <uchar.h> header file. */
|
|
#undef HAVE_UCHAR_H
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Define to 1 if you have the <unistring/woe32dll.h> header file. */
|
|
#undef HAVE_UNISTRING_WOE32DLL_H
|
|
|
|
/* Define to 1 if <sys/socket.h> defines AF_UNIX. */
|
|
#undef HAVE_UNIXSOCKET
|
|
|
|
/* Define to 1 if you have the 'unsetenv' function. */
|
|
#undef HAVE_UNSETENV
|
|
|
|
/* Define to 1 if the system has the type 'unsigned long long int'. */
|
|
#undef HAVE_UNSIGNED_LONG_LONG_INT
|
|
|
|
/* Define to 1 if you have the `uselocale' function. */
|
|
#undef HAVE_USELOCALE
|
|
|
|
/* Define if you have a global __progname variable */
|
|
#undef HAVE_VAR___PROGNAME
|
|
|
|
/* Define to 1 if you have the 'vasnprintf' function. */
|
|
#undef HAVE_VASNPRINTF
|
|
|
|
/* Define to 1 if you have the 'vasprintf' function. */
|
|
#undef HAVE_VASPRINTF
|
|
|
|
/* Define to 1 if you have the 'vfork' function. */
|
|
#undef HAVE_VFORK
|
|
|
|
/* Define to 1 or 0, depending whether the compiler supports simple visibility
|
|
declarations. */
|
|
#undef HAVE_VISIBILITY
|
|
|
|
/* Define to 1 if you have the 'waitid' function. */
|
|
#undef HAVE_WAITID
|
|
|
|
/* Define to 1 if you have the <wchar.h> header file. */
|
|
#undef HAVE_WCHAR_H
|
|
|
|
/* Define to 1 if you have the 'wcrtomb' function. */
|
|
#undef HAVE_WCRTOMB
|
|
|
|
/* Define to 1 if you have the 'wcslen' function. */
|
|
#undef HAVE_WCSLEN
|
|
|
|
/* Define to 1 if you have the 'wctob' function. */
|
|
#undef HAVE_WCTOB
|
|
|
|
/* Define to 1 if you have the <wctype.h> header file. */
|
|
#undef HAVE_WCTYPE_H
|
|
|
|
/* Define to 1 if you have the 'wcwidth' function. */
|
|
#undef HAVE_WCWIDTH
|
|
|
|
/* Define to 1 if the compiler and linker support weak declarations of
|
|
symbols. */
|
|
#undef HAVE_WEAK_SYMBOLS
|
|
|
|
/* Define to 1 if <locale.h> defines the _locale_t type. */
|
|
#undef HAVE_WINDOWS_LOCALE_T
|
|
|
|
/* Define to 1 if you have the <winsock2.h> header file. */
|
|
#undef HAVE_WINSOCK2_H
|
|
|
|
/* Define if you have the 'wint_t' type. */
|
|
#undef HAVE_WINT_T
|
|
|
|
/* Define if the c32rtomb function basically works. */
|
|
#undef HAVE_WORKING_C32RTOMB
|
|
|
|
/* Define to 1 if fstatat (..., 0) works. For example, it does not work in AIX
|
|
7.1. */
|
|
#undef HAVE_WORKING_FSTATAT_ZERO_FLAG
|
|
|
|
/* Define if the mbrtoc32 function basically works. */
|
|
#undef HAVE_WORKING_MBRTOC32
|
|
|
|
/* Define to 1 if O_DIRECTORY works, 0 otherwise. */
|
|
#undef HAVE_WORKING_O_DIRECTORY
|
|
|
|
/* Define to 1 if O_NOATIME works, 0 otherwise. */
|
|
#undef HAVE_WORKING_O_NOATIME
|
|
|
|
/* Define to 1 if O_NOFOLLOW works, 0 otherwise. */
|
|
#undef HAVE_WORKING_O_NOFOLLOW
|
|
|
|
/* Define if you have the sigaltstack() function and it works. */
|
|
#undef HAVE_WORKING_SIGALTSTACK
|
|
|
|
/* Define to 1 if the function strerrorname_np exists and works. */
|
|
#undef HAVE_WORKING_STRERRORNAME_NP
|
|
|
|
/* Define if the uselocale function exists and may safely be called. */
|
|
#undef HAVE_WORKING_USELOCALE
|
|
|
|
/* Define to 1 if you have the <ws2tcpip.h> header file. */
|
|
#undef HAVE_WS2TCPIP_H
|
|
|
|
/* Define to 1 if you have the <xlocale.h> header file. */
|
|
#undef HAVE_XLOCALE_H
|
|
|
|
/* Define to 1 if you have the '_chsize' function. */
|
|
#undef HAVE__CHSIZE
|
|
|
|
/* Define to 1 if you have the '_fseeki64' function. */
|
|
#undef HAVE__FSEEKI64
|
|
|
|
/* Define to 1 if you have the '_ftelli64' function. */
|
|
#undef HAVE__FTELLI64
|
|
|
|
/* Define to 1 if you have the '_set_invalid_parameter_handler' function. */
|
|
#undef HAVE__SET_INVALID_PARAMETER_HANDLER
|
|
|
|
/* Define to 1 if the compiler supports __builtin_expect,
|
|
and to 2 if <builtins.h> does. */
|
|
#undef HAVE___BUILTIN_EXPECT
|
|
#ifndef HAVE___BUILTIN_EXPECT
|
|
# define __builtin_expect(e, c) (e)
|
|
#elif HAVE___BUILTIN_EXPECT == 2
|
|
# include <builtins.h>
|
|
#endif
|
|
|
|
|
|
/* Define to 1 if you have the `__fpurge' function. */
|
|
#undef HAVE___FPURGE
|
|
|
|
/* Define to 1 if you have the `__freadahead' function. */
|
|
#undef HAVE___FREADAHEAD
|
|
|
|
/* Define to 1 if you have the `__freading' function. */
|
|
#undef HAVE___FREADING
|
|
|
|
/* Define to 1 if you have the `__fseterr' function. */
|
|
#undef HAVE___FSETERR
|
|
|
|
/* Define to 1 if ctype.h defines __header_inline. */
|
|
#undef HAVE___HEADER_INLINE
|
|
|
|
/* Please see the Gnulib manual for how to use these macros.
|
|
|
|
Suppress extern inline with HP-UX cc, as it appears to be broken; see
|
|
<https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
|
|
|
|
Suppress extern inline with Sun C in standards-conformance mode, as it
|
|
mishandles inline functions that call each other. E.g., for 'inline void f
|
|
(void) { } inline void g (void) { f (); }', c99 incorrectly complains
|
|
'reference to static identifier "f" in extern inline function'.
|
|
This bug was observed with Oracle Developer Studio 12.6
|
|
(Sun C 5.15 SunOS_sparc 2017/05/30).
|
|
|
|
Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
|
|
on configurations that mistakenly use 'static inline' to implement
|
|
functions or macros in standard C headers like <ctype.h>. For example,
|
|
if isdigit is mistakenly implemented via a static inline function,
|
|
a program containing an extern inline function that calls isdigit
|
|
may not work since C99 through C23 prohibit extern inline functions
|
|
from calling static functions (ISO C 23 § 6.7.5 ¶ 3)).
|
|
Although a future C standard will likely relax this restriction
|
|
<https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3622.txt>,
|
|
respect it for now. This bug is known to occur on:
|
|
|
|
OS X 10.8 and earlier; see:
|
|
https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html
|
|
|
|
DragonFly; see
|
|
http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log
|
|
|
|
FreeBSD; see:
|
|
https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
|
|
|
|
OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
|
|
for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.
|
|
Assume DragonFly and FreeBSD will be similar.
|
|
|
|
GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
|
|
inline semantics, unless -fgnu89-inline is used. It defines a macro
|
|
__GNUC_STDC_INLINE__ to indicate this situation or a macro
|
|
__GNUC_GNU_INLINE__ to indicate the opposite situation.
|
|
GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
|
|
semantics but warns, unless -fgnu89-inline is used:
|
|
warning: C99 inline functions are not supported; using GNU89
|
|
warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
|
|
It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
|
|
*/
|
|
#if (((defined __APPLE__ && defined __MACH__) \
|
|
|| defined __DragonFly__ || defined __FreeBSD__) \
|
|
&& (defined HAVE___HEADER_INLINE \
|
|
? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
|
|
&& ! defined __clang__) \
|
|
: ((! defined _DONT_USE_CTYPE_INLINE_ \
|
|
&& (defined __GNUC__ || defined __cplusplus)) \
|
|
|| (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
|
|
&& defined __GNUC__ && ! defined __cplusplus))))
|
|
# define _GL_EXTERN_INLINE_STDHEADER_BUG
|
|
#endif
|
|
#if ((__GNUC__ \
|
|
? (defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
|
|
&& !defined __PCC__) \
|
|
: (199901L <= __STDC_VERSION__ \
|
|
&& !defined __HP_cc \
|
|
&& !defined __PGI \
|
|
&& !(defined __SUNPRO_C && __STDC__))) \
|
|
&& !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
|
|
# define _GL_INLINE inline
|
|
# define _GL_EXTERN_INLINE extern inline
|
|
# define _GL_EXTERN_INLINE_IN_USE
|
|
#elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
|
|
&& !defined __PCC__ \
|
|
&& !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
|
|
# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
|
|
/* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
|
|
# define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
|
|
# else
|
|
# define _GL_INLINE extern inline
|
|
# endif
|
|
# define _GL_EXTERN_INLINE extern
|
|
# define _GL_EXTERN_INLINE_IN_USE
|
|
#else
|
|
# define _GL_INLINE _GL_UNUSED static
|
|
# define _GL_EXTERN_INLINE _GL_UNUSED static
|
|
#endif
|
|
|
|
/* In GCC 4.6 (inclusive) to 5.1 (exclusive),
|
|
suppress bogus "no previous prototype for 'FOO'"
|
|
and "no previous declaration for 'FOO'" diagnostics,
|
|
when FOO is an inline function in the header; see
|
|
<https://gcc.gnu.org/PR54113> and
|
|
<https://gcc.gnu.org/PR63877>. */
|
|
#if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
|
|
# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
|
|
# define _GL_INLINE_HEADER_CONST_PRAGMA
|
|
# else
|
|
# define _GL_INLINE_HEADER_CONST_PRAGMA \
|
|
_Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
|
|
# endif
|
|
# define _GL_INLINE_HEADER_BEGIN \
|
|
_Pragma ("GCC diagnostic push") \
|
|
_Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
|
|
_Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
|
|
_GL_INLINE_HEADER_CONST_PRAGMA
|
|
# define _GL_INLINE_HEADER_END \
|
|
_Pragma ("GCC diagnostic pop")
|
|
#else
|
|
# define _GL_INLINE_HEADER_BEGIN
|
|
# define _GL_INLINE_HEADER_END
|
|
#endif
|
|
|
|
/* Define to 1 if the compiler supports the keyword '__inline'. */
|
|
#undef HAVE___INLINE
|
|
|
|
/* Define to 1 if you have the '__secure_getenv' function. */
|
|
#undef HAVE___SECURE_GETENV
|
|
|
|
/* Define to 1 if you have the '__xpg_strerror_r' function. */
|
|
#undef HAVE___XPG_STRERROR_R
|
|
|
|
/* Define as const if the declaration of iconv() needs const. */
|
|
#undef ICONV_CONST
|
|
|
|
/* Define to a symbolic name denoting the flavor of iconv_open()
|
|
implementation. */
|
|
#undef ICONV_FLAVOR
|
|
|
|
/* Define as the bit index in the word where to find bit 0 of the exponent of
|
|
'long double'. */
|
|
#undef LDBL_EXPBIT0_BIT
|
|
|
|
/* Define as the word index where to find the exponent of 'long double'. */
|
|
#undef LDBL_EXPBIT0_WORD
|
|
|
|
/* Define as the bit index in the word where to find the sign of 'long
|
|
double'. */
|
|
#undef LDBL_SIGNBIT_BIT
|
|
|
|
/* Define as the word index where to find the sign of 'long double'. */
|
|
#undef LDBL_SIGNBIT_WORD
|
|
|
|
/* Define if localename.c overrides newlocale(), duplocale(), freelocale(). */
|
|
#undef LOCALENAME_ENHANCE_LOCALE_FUNCS
|
|
|
|
/* Define to 1 if lseek does not detect pipes. */
|
|
#undef LSEEK_PIPE_BROKEN
|
|
|
|
/* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
|
|
slash. */
|
|
#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
|
|
|
|
/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
|
|
#undef MAP_ANONYMOUS
|
|
|
|
/* Define if the mbrtoc32 function does not return (size_t) -2 for empty
|
|
input. */
|
|
#undef MBRTOC32_EMPTY_INPUT_BUG
|
|
|
|
/* Define if the mbrtoc32 function may signal encoding errors in the C locale.
|
|
*/
|
|
#undef MBRTOC32_IN_C_LOCALE_MAYBE_EILSEQ
|
|
|
|
/* Define if the mbrtoc32 function does not accept the input bytes one-by-one.
|
|
*/
|
|
#undef MBRTOC32_MULTIBYTE_LOCALE_BUG
|
|
|
|
/* Define if the mbrtowc function does not return (size_t) -2 for empty input.
|
|
*/
|
|
#undef MBRTOWC_EMPTY_INPUT_BUG
|
|
|
|
/* Define if the mbrtowc function may signal encoding errors in the C locale.
|
|
*/
|
|
#undef MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ
|
|
|
|
/* Define if the mbrtowc function has the NULL pwc argument bug. */
|
|
#undef MBRTOWC_NULL_ARG1_BUG
|
|
|
|
/* Define if the mbrtowc function does not return 0 for a NUL character. */
|
|
#undef MBRTOWC_NUL_RETVAL_BUG
|
|
|
|
/* Define if the mbrtowc function returns a wrong return value. */
|
|
#undef MBRTOWC_RETVAL_BUG
|
|
|
|
/* Define if the mbrtowc function stores a wide character when reporting
|
|
incomplete input. */
|
|
#undef MBRTOWC_STORES_INCOMPLETE_BUG
|
|
|
|
/* Use GNU style printf and scanf. */
|
|
#ifndef __USE_MINGW_ANSI_STDIO
|
|
# undef __USE_MINGW_ANSI_STDIO
|
|
#endif
|
|
|
|
|
|
/* Define to 1 if the encoding of NaN 'double's is as in IEEE 754-2008 §
|
|
6.2.1. */
|
|
#undef MIPS_NAN2008_DOUBLE
|
|
|
|
/* Define to 1 if the encoding of NaN 'float's is as in IEEE 754-2008 §
|
|
6.2.1. */
|
|
#undef MIPS_NAN2008_FLOAT
|
|
|
|
/* Define to 1 if the encoding of NaN 'long double's is as in IEEE 754-2008 §
|
|
6.2.1. */
|
|
#undef MIPS_NAN2008_LONG_DOUBLE
|
|
|
|
/* Define to 1 if mkfifo does not reject trailing slash */
|
|
#undef MKFIFO_TRAILING_SLASH_BUG
|
|
|
|
/* Define to 1 on musl libc. */
|
|
#undef MUSL_LIBC
|
|
|
|
/* Define to 1 if assertions should be disabled. */
|
|
#undef NDEBUG
|
|
|
|
/* Define if the vasnprintf implementation needs special code for the 'a' and
|
|
'A' directives. */
|
|
#undef NEED_PRINTF_DIRECTIVE_A
|
|
|
|
/* Define if the vasnprintf implementation needs special code for the 'b'
|
|
directive. */
|
|
#undef NEED_PRINTF_DIRECTIVE_B
|
|
|
|
/* Define if the vasnprintf implementation needs special code for the 'F'
|
|
directive. */
|
|
#undef NEED_PRINTF_DIRECTIVE_F
|
|
|
|
/* Define if the vasnprintf implementation needs special code for the 'lc'
|
|
directive. */
|
|
#undef NEED_PRINTF_DIRECTIVE_LC
|
|
|
|
/* Define if the vasnprintf implementation needs special code for the 'ls'
|
|
directive. */
|
|
#undef NEED_PRINTF_DIRECTIVE_LS
|
|
|
|
/* Define if the vasnprintf implementation needs special code for 'double'
|
|
arguments. */
|
|
#undef NEED_PRINTF_DOUBLE
|
|
|
|
/* Define if the vasnprintf implementation needs special code for surviving
|
|
out-of-memory conditions. */
|
|
#undef NEED_PRINTF_ENOMEM
|
|
|
|
/* Define if the vasnprintf implementation needs special code for the # flag
|
|
with a zero precision and a zero value in the 'x' and 'X' directives. */
|
|
#undef NEED_PRINTF_FLAG_ALT_PRECISION_ZERO
|
|
|
|
/* Define if the vasnprintf implementation needs special code for the ' flag.
|
|
*/
|
|
#undef NEED_PRINTF_FLAG_GROUPING
|
|
|
|
/* Define if the vasnprintf implementation needs special code for the ' flag,
|
|
for integer directives only. */
|
|
#undef NEED_PRINTF_FLAG_GROUPING_INT
|
|
|
|
/* Define if the vasnprintf implementation needs special code for the '-'
|
|
flag. */
|
|
#undef NEED_PRINTF_FLAG_LEFTADJUST
|
|
|
|
/* Define if the vasnprintf implementation needs special code for the 0 flag.
|
|
*/
|
|
#undef NEED_PRINTF_FLAG_ZERO
|
|
|
|
/* Define if the vasnprintf implementation needs special code for infinite
|
|
'double' arguments. */
|
|
#undef NEED_PRINTF_INFINITE_DOUBLE
|
|
|
|
/* Define if the vasnprintf implementation needs special code for infinite
|
|
'long double' arguments. */
|
|
#undef NEED_PRINTF_INFINITE_LONG_DOUBLE
|
|
|
|
/* Define if the vasnprintf implementation needs special code for 'long
|
|
double' arguments. */
|
|
#undef NEED_PRINTF_LONG_DOUBLE
|
|
|
|
/* Define if the vasnprintf implementation needs special code for supporting
|
|
large precisions without arbitrary bounds. */
|
|
#undef NEED_PRINTF_UNBOUNDED_PRECISION
|
|
|
|
/* Define to 1 if realloc should abort upon undefined behaviour. */
|
|
#undef NEED_SANITIZED_REALLOC
|
|
|
|
/* Define to 1 to enable general improvements of setlocale. */
|
|
#undef NEED_SETLOCALE_IMPROVED
|
|
|
|
/* Define to 1 to enable a multithread-safety fix of setlocale. */
|
|
#undef NEED_SETLOCALE_MTSAFE
|
|
|
|
/* Define to 1 if nl_langinfo is multithread-safe. */
|
|
#undef NL_LANGINFO_MTSAFE
|
|
|
|
/* Define to 1 if open() fails to recognize a trailing slash. */
|
|
#undef OPEN_TRAILING_SLASH_BUG
|
|
|
|
/* Name of package */
|
|
#undef PACKAGE
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
/* Define to the full name of this package. */
|
|
#undef PACKAGE_NAME
|
|
|
|
/* String identifying the packager of this software */
|
|
#undef PACKAGE_PACKAGER
|
|
|
|
/* Packager info for bug reports (URL/e-mail/...) */
|
|
#undef PACKAGE_PACKAGER_BUG_REPORTS
|
|
|
|
/* Packager-specific version information */
|
|
#undef PACKAGE_PACKAGER_VERSION
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#undef PACKAGE_STRING
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#undef PACKAGE_TARNAME
|
|
|
|
/* Define to the home page for this package. */
|
|
#undef PACKAGE_URL
|
|
|
|
/* Define to the version of this package. */
|
|
#undef PACKAGE_VERSION
|
|
|
|
/* Define to the type that is the result of default argument promotions of
|
|
type mode_t. */
|
|
#undef PROMOTED_MODE_T
|
|
|
|
/* Define if pthread_create is an inline function. */
|
|
#undef PTHREAD_CREATE_IS_INLINE
|
|
|
|
/* Define if the pthread_in_use() detection is hard. */
|
|
#undef PTHREAD_IN_USE_DETECTION_HARD
|
|
|
|
/* Define if the 'robust' attribute of pthread_mutex* doesn't exist. */
|
|
#undef PTHREAD_MUTEXATTR_ROBUST_UNIMPLEMENTED
|
|
|
|
/* Define if the pthread_rwlock wait queue handling is not reasonable. */
|
|
#undef PTHREAD_RWLOCK_BAD_WAITQUEUE
|
|
|
|
/* Define if the functions pthread_rwlock_timedrdlock and
|
|
pthread_rwlock_timedwrlock don't exist. */
|
|
#undef PTHREAD_RWLOCK_LACKS_TIMEOUT
|
|
|
|
/* Define if all pthread_rwlock* functions don't exist. */
|
|
#undef PTHREAD_RWLOCK_UNIMPLEMENTED
|
|
|
|
/* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno.
|
|
*/
|
|
#undef PTHREAD_SIGMASK_FAILS_WITH_ERRNO
|
|
|
|
/* Define to 1 if pthread_sigmask may return 0 and have no effect. */
|
|
#undef PTHREAD_SIGMASK_INEFFECTIVE
|
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
'ptrdiff_t'. */
|
|
#undef PTRDIFF_T_SUFFIX
|
|
|
|
/* Define to 1 if readlink fails to recognize a trailing slash. */
|
|
#undef READLINK_TRAILING_SLASH_BUG
|
|
|
|
/* Define to 1 if readlink sets errno instead of truncating a too-long link.
|
|
*/
|
|
#undef READLINK_TRUNCATE_BUG
|
|
|
|
/* Define if rename does not work when the destination file exists, as on
|
|
Cygwin 1.5 or Windows. */
|
|
#undef RENAME_DEST_EXISTS_BUG
|
|
|
|
/* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or
|
|
Cygwin 1.5. */
|
|
#undef RENAME_HARD_LINK_BUG
|
|
|
|
/* Define to 1 if a file can be renamed while open, or to 0 if not. */
|
|
#undef RENAME_OPEN_FILE_WORKS
|
|
|
|
/* Define if rename does not correctly handle slashes on the destination
|
|
argument, such as on Solaris 11 or NetBSD 1.6. */
|
|
#undef RENAME_TRAILING_SLASH_DEST_BUG
|
|
|
|
/* Define if rename does not correctly handle slashes on the source argument,
|
|
such as on Solaris 9 or cygwin 1.5. */
|
|
#undef RENAME_TRAILING_SLASH_SOURCE_BUG
|
|
|
|
/* Define to 1 if gnulib's fchdir() replacement is used. */
|
|
#undef REPLACE_FCHDIR
|
|
|
|
/* Define to 1 if stat needs help when passed a file name with a trailing
|
|
slash */
|
|
#undef REPLACE_FUNC_STAT_FILE
|
|
|
|
/* Define if nl_langinfo exists but is overridden by gnulib. */
|
|
#undef REPLACE_NL_LANGINFO
|
|
|
|
/* Define to 1 if open() should work around the inability to open a directory.
|
|
*/
|
|
#undef REPLACE_OPEN_DIRECTORY
|
|
|
|
/* Define if gnulib uses its own posix_spawn and posix_spawnp functions. */
|
|
#undef REPLACE_POSIX_SPAWN
|
|
|
|
/* Define to 1 if strerror(0) does not return a message implying success. */
|
|
#undef REPLACE_STRERROR_0
|
|
|
|
/* Define if vasnprintf exists but is overridden by gnulib. */
|
|
#undef REPLACE_VASNPRINTF
|
|
|
|
/* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */
|
|
#undef SETLOCALE_NULL_ALL_MTSAFE
|
|
|
|
/* Define to 1 if setlocale (category, NULL) is multithread-safe. */
|
|
#undef SETLOCALE_NULL_ONE_MTSAFE
|
|
|
|
/* File name of the Bourne shell. */
|
|
#if (defined _WIN32 && !defined __CYGWIN__) || defined __CYGWIN__ || defined __ANDROID__
|
|
/* Omit the directory part because
|
|
- For native Windows programs in a Cygwin environment, the Cygwin mounts
|
|
are not visible.
|
|
- For 32-bit Cygwin programs in a 64-bit Cygwin environment, the Cygwin
|
|
mounts are not visible.
|
|
- On Android, /bin/sh does not exist. It's /system/bin/sh instead. */
|
|
# define BOURNE_SHELL "sh"
|
|
#else
|
|
# define BOURNE_SHELL "/bin/sh"
|
|
#endif
|
|
|
|
/* Define if lists must be signal-safe. */
|
|
#undef SIGNAL_SAFE_LIST
|
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
'sig_atomic_t'. */
|
|
#undef SIG_ATOMIC_T_SUFFIX
|
|
|
|
/* Define as the maximum value of type 'size_t', if the system doesn't define
|
|
it. */
|
|
#ifndef SIZE_MAX
|
|
# undef SIZE_MAX
|
|
#endif
|
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
'size_t'. */
|
|
#undef SIZE_T_SUFFIX
|
|
|
|
/* Define on Solaris 11 and its derivates. */
|
|
#undef SOLARIS11
|
|
|
|
/* Define as the direction of stack growth for your system. STACK_DIRECTION >
|
|
0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward
|
|
lower addresses STACK_DIRECTION = 0 => spaghetti stack. */
|
|
#undef STACK_DIRECTION
|
|
|
|
/* Define to 1 if the 'S_IS*' macros in <sys/stat.h> do not work properly. */
|
|
#undef STAT_MACROS_BROKEN
|
|
|
|
/* Define to 1 if all of the C89 standard headers exist (not just the ones
|
|
required in a freestanding environment). This macro is provided for
|
|
backward compatibility; new code need not use it. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Define to 1 if strerror_r returns char *. */
|
|
#undef STRERROR_R_CHAR_P
|
|
|
|
/* Define to 1 if strtod does not set errno upon gradual underflow. */
|
|
#undef STRTOD_HAS_GRADUAL_UNDERFLOW_PROBLEM
|
|
|
|
/* Define to 1 if strtod does not set errno upon flush-to-zero underflow. */
|
|
#undef STRTOD_HAS_UNDERFLOW_BUG
|
|
|
|
/* Shell used by syscmd and esyscmd, must accept -c argument. */
|
|
#undef SYSCMD_SHELL
|
|
|
|
/* Define to 1 if the type of the st_atim member of a struct stat is struct
|
|
timespec. */
|
|
#undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC
|
|
|
|
/* Define to the prefix of C symbols at the assembler and linker level, either
|
|
an underscore or empty. */
|
|
#undef USER_LABEL_PREFIX
|
|
|
|
/* Define if the combination of the ISO C and POSIX multithreading APIs can be
|
|
used. */
|
|
#undef USE_ISOC_AND_POSIX_THREADS
|
|
|
|
/* Define if the ISO C multithreading library can be used. */
|
|
#undef USE_ISOC_THREADS
|
|
|
|
/* Define to enable the declarations of ISO C 23 Annex K types and functions. */
|
|
#if !(defined __STDC_WANT_LIB_EXT1__ && __STDC_WANT_LIB_EXT1__)
|
|
#undef/**/__STDC_WANT_LIB_EXT1__
|
|
#define __STDC_WANT_LIB_EXT1__ 1
|
|
#endif
|
|
|
|
|
|
/* Define if the POSIX multithreading library can be used. */
|
|
#undef USE_POSIX_THREADS
|
|
|
|
/* Define if references to the POSIX multithreading library are satisfied by
|
|
libc. */
|
|
#undef USE_POSIX_THREADS_FROM_LIBC
|
|
|
|
/* Define if references to the POSIX multithreading library should be made
|
|
weak. */
|
|
#undef USE_POSIX_THREADS_WEAK
|
|
|
|
/* Enable extensions on AIX, Interix, z/OS. */
|
|
#ifndef _ALL_SOURCE
|
|
# undef _ALL_SOURCE
|
|
#endif
|
|
/* Enable extensions on Cosmopolitan Libc. */
|
|
#ifndef _COSMO_SOURCE
|
|
# undef _COSMO_SOURCE
|
|
#endif
|
|
/* Enable general extensions on macOS. */
|
|
#ifndef _DARWIN_C_SOURCE
|
|
# undef _DARWIN_C_SOURCE
|
|
#endif
|
|
/* Enable general extensions on Solaris. */
|
|
#ifndef __EXTENSIONS__
|
|
# undef __EXTENSIONS__
|
|
#endif
|
|
/* Enable GNU extensions on systems that have them. */
|
|
#ifndef _GNU_SOURCE
|
|
# undef _GNU_SOURCE
|
|
#endif
|
|
/* Enable X/Open compliant socket functions that do not require linking
|
|
with -lxnet on HP-UX 11.11. */
|
|
#ifndef _HPUX_ALT_XOPEN_SOCKET_API
|
|
# undef _HPUX_ALT_XOPEN_SOCKET_API
|
|
#endif
|
|
/* Identify the host operating system as Minix.
|
|
This macro does not affect the system headers' behavior.
|
|
A future release of Autoconf may stop defining this macro. */
|
|
#ifndef _MINIX
|
|
# undef _MINIX
|
|
#endif
|
|
/* Enable general extensions on NetBSD.
|
|
Enable NetBSD compatibility extensions on Minix. */
|
|
#ifndef _NETBSD_SOURCE
|
|
# undef _NETBSD_SOURCE
|
|
#endif
|
|
/* Enable OpenBSD compatibility extensions on NetBSD.
|
|
Oddly enough, this does nothing on OpenBSD. */
|
|
#ifndef _OPENBSD_SOURCE
|
|
# undef _OPENBSD_SOURCE
|
|
#endif
|
|
/* Define to 1 if needed for POSIX-compatible behavior. */
|
|
#ifndef _POSIX_SOURCE
|
|
# undef _POSIX_SOURCE
|
|
#endif
|
|
/* Define to 2 if needed for POSIX-compatible behavior. */
|
|
#ifndef _POSIX_1_SOURCE
|
|
# undef _POSIX_1_SOURCE
|
|
#endif
|
|
/* Enable POSIX-compatible threading on Solaris. */
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
# undef _POSIX_PTHREAD_SEMANTICS
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
|
|
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
|
|
# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
|
|
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
|
|
# undef __STDC_WANT_IEC_60559_BFP_EXT__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
|
|
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
|
|
# undef __STDC_WANT_IEC_60559_DFP_EXT__
|
|
#endif
|
|
/* Enable extensions specified by C23 Annex F. */
|
|
#ifndef __STDC_WANT_IEC_60559_EXT__
|
|
# undef __STDC_WANT_IEC_60559_EXT__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
|
|
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
|
|
# undef __STDC_WANT_IEC_60559_FUNCS_EXT__
|
|
#endif
|
|
/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */
|
|
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
|
|
# undef __STDC_WANT_IEC_60559_TYPES_EXT__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
|
|
#ifndef __STDC_WANT_LIB_EXT2__
|
|
# undef __STDC_WANT_LIB_EXT2__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC 24747:2009. */
|
|
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
|
|
# undef __STDC_WANT_MATH_SPEC_FUNCS__
|
|
#endif
|
|
/* Enable extensions on HP NonStop. */
|
|
#ifndef _TANDEM_SOURCE
|
|
# undef _TANDEM_SOURCE
|
|
#endif
|
|
/* Enable X/Open extensions. Define to 500 only if necessary
|
|
to make mbstate_t available. */
|
|
#ifndef _XOPEN_SOURCE
|
|
# undef _XOPEN_SOURCE
|
|
#endif
|
|
|
|
|
|
/* An alias of GNULIB_STDIO_SINGLE_THREAD. */
|
|
#undef USE_UNLOCKED_IO
|
|
|
|
/* Define if the native Windows multithreading API can be used. */
|
|
#undef USE_WINDOWS_THREADS
|
|
|
|
/* Version number of package */
|
|
#undef VERSION
|
|
|
|
/* Define to 1 if unsetenv returns void instead of int. */
|
|
#undef VOID_UNSETENV
|
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
'wchar_t'. */
|
|
#undef WCHAR_T_SUFFIX
|
|
|
|
/* Define if the wcrtomb function does not work in the C locale. */
|
|
#undef WCRTOMB_C_LOCALE_BUG
|
|
|
|
/* Define if the wcrtomb function has an incorrect return value. */
|
|
#undef WCRTOMB_RETVAL_BUG
|
|
|
|
/* Define if WSAStartup is needed. */
|
|
#undef WINDOWS_SOCKETS
|
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
'wint_t'. */
|
|
#undef WINT_T_SUFFIX
|
|
|
|
/* Define to 1 if malloc debugging is enabled */
|
|
#undef WITH_DMALLOC
|
|
|
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
|
# if defined __BIG_ENDIAN__
|
|
# define WORDS_BIGENDIAN 1
|
|
# endif
|
|
#else
|
|
# ifndef WORDS_BIGENDIAN
|
|
# undef WORDS_BIGENDIAN
|
|
# endif
|
|
#endif
|
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
/* True if the compiler says it groks GNU C version MAJOR.MINOR.
|
|
Except that
|
|
- clang groks GNU C 4.2, even on Windows, where it does not define
|
|
__GNUC__.
|
|
- The OpenMandriva-modified clang compiler pretends that it groks
|
|
GNU C version 13.1, but it doesn't: It does not support
|
|
__attribute__ ((__malloc__ (f, i))), nor does it support
|
|
__attribute__ ((__warning__ (message))) on a function redeclaration.
|
|
- Users can make clang lie as well, through the -fgnuc-version option. */
|
|
#if defined __GNUC__ && defined __GNUC_MINOR__ && !defined __clang__
|
|
# define _GL_GNUC_PREREQ(major, minor) \
|
|
((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
|
|
#elif defined __clang__
|
|
/* clang really only groks GNU C 4.2. */
|
|
# define _GL_GNUC_PREREQ(major, minor) \
|
|
((major) < 4 + ((minor) <= 2))
|
|
#else
|
|
# define _GL_GNUC_PREREQ(major, minor) 0
|
|
#endif
|
|
|
|
|
|
/* Define to enable the declarations of ISO C 11 types and functions. */
|
|
#undef _ISOC11_SOURCE
|
|
|
|
/* Define to 1 on platforms where this makes off_t a 64-bit type. */
|
|
#undef _LARGE_FILES
|
|
|
|
/* Define to 1 on Solaris. */
|
|
#undef _LCONV_C99
|
|
|
|
/* Define so that AIX headers are more compatible with GNU/Linux. */
|
|
#undef _LINUX_SOURCE_COMPAT
|
|
|
|
/* The _Noreturn keyword of C11.
|
|
Do not use [[noreturn]], because with it the syntax
|
|
extern _Noreturn void func (...);
|
|
would not be valid; such a declaration would be valid only with 'extern'
|
|
and '_Noreturn' swapped, or without the 'extern' keyword. However, some
|
|
AIX system header files and several gnulib header files use precisely
|
|
this syntax with 'extern'. So even though C23 deprecates _Noreturn,
|
|
it is currently more portable to prefer it to [[noreturn]].
|
|
|
|
Also, do not try to work around LLVM bug 59792 (clang 15 or earlier).
|
|
This rare bug can be worked around by compiling with 'clang -D_Noreturn=',
|
|
though the workaround may generate many false-alarm warnings. */
|
|
#ifndef _Noreturn
|
|
# if ((!defined __cplusplus || defined __clang__) \
|
|
&& (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0)))
|
|
/* _Noreturn works as-is. */
|
|
# elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
|
|
/* Prefer __attribute__ ((__noreturn__)) to plain _Noreturn even if the
|
|
latter works, as 'gcc -std=gnu99 -Wpedantic' warns about _Noreturn. */
|
|
# define _Noreturn __attribute__ ((__noreturn__))
|
|
# elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
|
|
# define _Noreturn __declspec (noreturn)
|
|
# else
|
|
# define _Noreturn
|
|
# endif
|
|
#endif
|
|
|
|
|
|
/* Define if you want <regex.h> to include <limits.h>, so that it consistently
|
|
overrides <limits.h>'s RE_DUP_MAX. */
|
|
#undef _REGEX_INCLUDE_LIMITS_H
|
|
|
|
/* Define if you want regoff_t to be at least as wide POSIX requires. */
|
|
#undef _REGEX_LARGE_OFFSETS
|
|
|
|
/* Number of bits in time_t, on hosts where this is settable. */
|
|
#undef _TIME_BITS
|
|
|
|
/* For standard stat data types on VMS. */
|
|
#undef _USE_STD_STAT
|
|
|
|
/* Define to rpl_ if the getopt replacement functions and variables should be
|
|
used. */
|
|
#undef __GETOPT_PREFIX
|
|
|
|
/* Define to 1 on platforms where this makes time_t a 64-bit type. */
|
|
#undef __MINGW_USE_VC2005_COMPAT
|
|
|
|
/* Define to 1 if the system <stdint.h> predates C++11. */
|
|
#undef __STDC_CONSTANT_MACROS
|
|
|
|
/* Define to 1 if the system <stdint.h> predates C++11. */
|
|
#undef __STDC_LIMIT_MACROS
|
|
|
|
/* Define to 1 if C does not support variable-length arrays, and if the
|
|
compiler does not already define this. */
|
|
#undef __STDC_NO_VLA__
|
|
|
|
/* The _GL_ASYNC_SAFE marker should be attached to functions that are
|
|
signal handlers (for signals other than SIGABRT, SIGPIPE) or can be
|
|
invoked from such signal handlers. Such functions have some restrictions:
|
|
* All functions that it calls should be marked _GL_ASYNC_SAFE as well,
|
|
or should be listed as async-signal-safe in POSIX
|
|
<https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04>
|
|
section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in
|
|
particular, are NOT async-signal-safe.
|
|
* All memory locations (variables and struct fields) that these functions
|
|
access must be marked 'volatile'. This holds for both read and write
|
|
accesses. Otherwise the compiler might optimize away stores to and
|
|
reads from such locations that occur in the program, depending on its
|
|
data flow analysis. For example, when the program contains a loop
|
|
that is intended to inspect a variable set from within a signal handler
|
|
while (!signal_occurred)
|
|
;
|
|
the compiler is allowed to transform this into an endless loop if the
|
|
variable 'signal_occurred' is not declared 'volatile'.
|
|
Additionally, recall that:
|
|
* A signal handler should not modify errno (except if it is a handler
|
|
for a fatal signal and ends by raising the same signal again, thus
|
|
provoking the termination of the process). If it invokes a function
|
|
that may clobber errno, it needs to save and restore the value of
|
|
errno. */
|
|
#define _GL_ASYNC_SAFE
|
|
|
|
|
|
/* Attributes. */
|
|
/* Define _GL_HAS_ATTRIBUTE only once, because on FreeBSD, with gcc < 5, if
|
|
<config.h> gets included once again after <sys/cdefs.h>, __has_attribute(x)
|
|
expands to 0 always, and redefining _GL_HAS_ATTRIBUTE would turn off all
|
|
attributes. */
|
|
#ifndef _GL_HAS_ATTRIBUTE
|
|
# if (defined __has_attribute \
|
|
&& (!defined __clang_minor__ \
|
|
|| (defined __apple_build_version__ \
|
|
? 7000000 <= __apple_build_version__ \
|
|
: 5 <= __clang_major__)))
|
|
# define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
|
|
# else
|
|
# define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
|
|
/* The following lines list the first GCC version that supports the attribute.
|
|
Although the lines are not used in GCC 5 and later (as GCC 5 introduced
|
|
__has_attribute support), list GCC versions 5+ anyway for completeness. */
|
|
# define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
|
|
# define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
|
|
# define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
|
|
# define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
|
|
# define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
|
|
# define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
|
|
# define _GL_ATTR_diagnose_if 0
|
|
# define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
|
|
# define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
|
|
# define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
|
|
# define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
|
|
# define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
|
|
# define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
|
|
# ifdef _ICC
|
|
# define _GL_ATTR_may_alias 0
|
|
# else
|
|
# define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
|
|
# endif
|
|
# define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
|
|
# define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
|
|
# define _GL_ATTR_nonnull_if_nonzero _GL_GNUC_PREREQ (15, 1)
|
|
# define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
|
|
# define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
|
|
# define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
|
|
# define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
|
|
# define _GL_ATTR_reproducible _GL_GNUC_PREREQ (15, 1)
|
|
# define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
|
|
# define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
|
|
# define _GL_ATTR_unsequenced _GL_GNUC_PREREQ (15, 1)
|
|
# define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
|
|
# define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
|
|
# endif
|
|
#endif
|
|
|
|
/* Use __has_c_attribute if available. However, do not use with
|
|
pre-C23 GCC, which can issue false positives if -Wpedantic. */
|
|
#if (defined __has_c_attribute \
|
|
&& ! (_GL_GNUC_PREREQ (4, 6) \
|
|
&& (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710))
|
|
# define _GL_HAVE___HAS_C_ATTRIBUTE 1
|
|
#else
|
|
# define _GL_HAVE___HAS_C_ATTRIBUTE 0
|
|
#endif
|
|
|
|
/* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...))
|
|
syntax, in function declarations. There are two problems here.
|
|
(Last tested with gcc/g++ 14 and clang/clang++ 18.)
|
|
|
|
1) We want that the _GL_ATTRIBUTE_* can be cumulated on the same declaration
|
|
in any order.
|
|
=========================== foo.c = foo.cc ===========================
|
|
__attribute__ ((__deprecated__)) [[__nodiscard__]] int bar1 (int);
|
|
[[__nodiscard__]] __attribute__ ((__deprecated__)) int bar2 (int);
|
|
======================================================================
|
|
This gives a syntax error
|
|
- in C mode with gcc
|
|
<https://gcc.gnu.org/PR108796>, and
|
|
- in C++ mode with clang++ version < 16, and
|
|
- in C++ mode, inside extern "C" {}, still in newer clang++ versions
|
|
<https://github.com/llvm/llvm-project/issues/101990>.
|
|
*/
|
|
/* Define if, in a function declaration, the attributes in bracket syntax
|
|
[[...]] must come before the attributes in __attribute__((...)) syntax.
|
|
If this is defined, it is best to avoid the bracket syntax, so that the
|
|
various _GL_ATTRIBUTE_* can be cumulated on the same declaration in any
|
|
order. */
|
|
#ifdef __cplusplus
|
|
# if defined __clang__
|
|
# define _GL_BRACKET_BEFORE_ATTRIBUTE 1
|
|
# endif
|
|
#else
|
|
# if defined __GNUC__ && !defined __clang__
|
|
# define _GL_BRACKET_BEFORE_ATTRIBUTE 1
|
|
# endif
|
|
#endif
|
|
/*
|
|
2) We want that the _GL_ATTRIBUTE_* can be placed in a declaration
|
|
- without 'extern', in C as well as in C++,
|
|
- with 'extern', in C,
|
|
- with 'extern "C"', in C++
|
|
in the same position. That is, we don't want to be forced to use a
|
|
macro which arranges for the attribute to come before 'extern' in
|
|
one case and after 'extern' in the other case, because such a macro
|
|
would make the source code of .h files pretty ugly.
|
|
=========================== foo.c = foo.cc ===========================
|
|
#ifdef __cplusplus
|
|
# define CC "C"
|
|
#else
|
|
# define CC
|
|
#endif
|
|
|
|
#define ND [[__nodiscard__]]
|
|
#define WUR __attribute__((__warn_unused_result__))
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
// gcc clang g++ clang++
|
|
|
|
ND int foo (int);
|
|
int ND foo (int); // warn error warn error
|
|
int foo ND (int);
|
|
int foo (int) ND; // warn error warn error
|
|
|
|
WUR int foo (int);
|
|
int WUR foo (int);
|
|
int fo1 WUR (int); // error error error error
|
|
int foo (int) WUR;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
// gcc clang g++ clang++
|
|
|
|
ND extern CC int foo (int); // error error
|
|
extern CC ND int foo (int); // error error
|
|
extern CC int ND foo (int); // warn error warn error
|
|
extern CC int foo ND (int);
|
|
extern CC int foo (int) ND; // warn error warn error
|
|
|
|
WUR extern CC int foo (int); // warn
|
|
extern CC WUR int foo (int);
|
|
extern CC int WUR foo (int);
|
|
extern CC int foo WUR (int); // error error error error
|
|
extern CC int foo (int) WUR;
|
|
|
|
ND EXTERN_C_FUNC int foo (int); // error error
|
|
EXTERN_C_FUNC ND int foo (int);
|
|
EXTERN_C_FUNC int ND foo (int); // warn error warn error
|
|
EXTERN_C_FUNC int foo ND (int);
|
|
EXTERN_C_FUNC int foo (int) ND; // warn error warn error
|
|
|
|
WUR EXTERN_C_FUNC int foo (int); // warn
|
|
EXTERN_C_FUNC WUR int foo (int);
|
|
EXTERN_C_FUNC int WUR foo (int);
|
|
EXTERN_C_FUNC int fo2 WUR (int); // error error error error
|
|
EXTERN_C_FUNC int foo (int) WUR;
|
|
======================================================================
|
|
So, if we insist on using the 'extern' keyword ('extern CC' idiom):
|
|
* If _GL_ATTRIBUTE_* expands to bracket syntax [[...]]
|
|
in both C and C++, there is one available position:
|
|
- between the function name and the parameter list.
|
|
* If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax
|
|
in both C and C++, there are several available positions:
|
|
- before the return type,
|
|
- between return type and function name,
|
|
- at the end of the declaration.
|
|
* If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in C and to
|
|
__attribute__((...)) syntax in C++, there is no available position:
|
|
it would need to come before 'extern' in C but after 'extern "C"'
|
|
in C++.
|
|
* If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in C and
|
|
to bracket syntax [[...]] in C++, there is one available position:
|
|
- before the return type.
|
|
Whereas, if we use the 'EXTERN_C_FUNC' idiom, which conditionally
|
|
omits the 'extern' keyword:
|
|
* If _GL_ATTRIBUTE_* expands to bracket syntax [[...]]
|
|
in both C and C++, there are two available positions:
|
|
- before the return type,
|
|
- between the function name and the parameter list.
|
|
* If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax
|
|
in both C and C++, there are several available positions:
|
|
- before the return type,
|
|
- between return type and function name,
|
|
- at the end of the declaration.
|
|
* If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in C and to
|
|
__attribute__((...)) syntax in C++, there is one available position:
|
|
- before the return type.
|
|
* If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in C and
|
|
to bracket syntax [[...]] in C++, there is one available position:
|
|
- before the return type.
|
|
The best choice is therefore to use the 'EXTERN_C_FUNC' idiom and
|
|
put the attributes before the return type. This works regardless
|
|
to what the _GL_ATTRIBUTE_* macros expand.
|
|
*/
|
|
|
|
/* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...))
|
|
syntax, in static/inline function definitions.
|
|
|
|
There are similar constraints as for function declarations. However, here,
|
|
we cannot omit the storage-class specifier. Therefore, the following rule
|
|
applies:
|
|
* The macros
|
|
_GL_ATTRIBUTE_CONST
|
|
_GL_ATTRIBUTE_DEPRECATED
|
|
_GL_ATTRIBUTE_MAYBE_UNUSED
|
|
_GL_ATTRIBUTE_NODISCARD
|
|
_GL_ATTRIBUTE_PURE
|
|
_GL_ATTRIBUTE_REPRODUCIBLE
|
|
_GL_ATTRIBUTE_UNSEQUENCED
|
|
which may expand to bracket syntax [[...]], must come first, before the
|
|
storage-class specifier.
|
|
* Other _GL_ATTRIBUTE_* macros, that expand to __attribute__((...)) syntax,
|
|
are better placed between the storage-class specifier and the return
|
|
type.
|
|
*/
|
|
|
|
/* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...))
|
|
syntax, in variable declarations.
|
|
|
|
At which position can they be placed?
|
|
(Last tested with gcc/g++ 14 and clang/clang++ 18.)
|
|
|
|
=========================== foo.c = foo.cc ===========================
|
|
#ifdef __cplusplus
|
|
# define CC "C"
|
|
#else
|
|
# define CC
|
|
#endif
|
|
|
|
#define BD [[__deprecated__]]
|
|
#define AD __attribute__ ((__deprecated__))
|
|
|
|
// gcc clang g++ clang++
|
|
|
|
BD extern CC int var; // error error
|
|
extern CC BD int var; // error error
|
|
extern CC int BD var; // warn error warn error
|
|
extern CC int var BD;
|
|
|
|
AD extern CC int var; // warn
|
|
extern CC AD int var;
|
|
extern CC int AD var;
|
|
extern CC int var AD;
|
|
|
|
BD extern CC int z[]; // error error
|
|
extern CC BD int z[]; // error error
|
|
extern CC int BD z[]; // warn error warn error
|
|
extern CC int z1 BD [];
|
|
extern CC int z[] BD; // warn error error
|
|
|
|
AD extern CC int z[]; // warn
|
|
extern CC AD int z[];
|
|
extern CC int AD z[];
|
|
extern CC int z2 AD []; // error error error error
|
|
extern CC int z[] AD;
|
|
======================================================================
|
|
|
|
* For non-array variables, the only good position is after the variable name,
|
|
that is, at the end of the declaration.
|
|
* For array variables, you will need to distinguish C and C++:
|
|
- In C, before the 'extern' keyword.
|
|
- In C++, between the 'extern "C"' and the variable's type.
|
|
*/
|
|
|
|
/* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function
|
|
is the size of the returned memory block.
|
|
_GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied
|
|
by the Nth argument of the function is the size of the returned memory block.
|
|
*/
|
|
/* Applies to: functions, pointer to functions, function types. */
|
|
#ifndef _GL_ATTRIBUTE_ALLOC_SIZE
|
|
# if _GL_HAS_ATTRIBUTE (alloc_size)
|
|
# define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
|
|
# else
|
|
# define _GL_ATTRIBUTE_ALLOC_SIZE(args)
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the
|
|
function and report an error if it cannot do so. */
|
|
/* Applies to: functions. */
|
|
#ifndef _GL_ATTRIBUTE_ALWAYS_INLINE
|
|
# if _GL_HAS_ATTRIBUTE (always_inline)
|
|
# define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_ALWAYS_INLINE
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show
|
|
in stack traces when debugging. The compiler should omit the function from
|
|
stack traces. */
|
|
/* Applies to: functions. */
|
|
#ifndef _GL_ATTRIBUTE_ARTIFICIAL
|
|
# if _GL_HAS_ATTRIBUTE (artificial)
|
|
# define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_ARTIFICIAL
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_COLD declares that the function is rarely executed. */
|
|
/* Applies to: functions. */
|
|
/* Avoid __attribute__ ((cold)) on MinGW; see thread starting at
|
|
<https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>.
|
|
Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */
|
|
#ifndef _GL_ATTRIBUTE_COLD
|
|
# if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
|
|
# ifndef __SUNPRO_C
|
|
# define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
|
|
# endif
|
|
# else
|
|
# define _GL_ATTRIBUTE_COLD
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_CONST declares:
|
|
It is OK for a compiler to move a call, or omit a duplicate call
|
|
and reuse a cached return value, even if the state changes between calls.
|
|
It is also OK to omit a call if the result is not used.
|
|
This attribute is safe if the function does not change observable state,
|
|
returns a value determined solely by its arguments' values
|
|
without examining state, and always returns exactly once -
|
|
e.g., does not raise an exception, call longjmp, or loop forever.
|
|
(This attribute is stricter than _GL_ATTRIBUTE_PURE because the
|
|
function cannot observe state. Unlike _GL_ATTRIBUTE_UNSEQUENCED
|
|
the function must return exactly once and cannot access state
|
|
addressed by its pointer arguments or that happens to have the same
|
|
value for all calls to the function, but the function is allowed to
|
|
return a pointer to storage that can be modified later. */
|
|
/* Applies to: functions. */
|
|
#ifndef _GL_ATTRIBUTE_CONST
|
|
# if _GL_HAS_ATTRIBUTE (const)
|
|
# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_CONST
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers
|
|
that can be freed by passing them as the Ith argument to the
|
|
function F.
|
|
_GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that
|
|
can be freed via 'free'; it can be used only after declaring 'free'. */
|
|
/* Applies to: functions. Cannot be used on inline functions. */
|
|
#ifndef _GL_ATTRIBUTE_DEALLOC
|
|
# if _GL_GNUC_PREREQ (11, 0)
|
|
# define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i)))
|
|
# else
|
|
# define _GL_ATTRIBUTE_DEALLOC(f, i)
|
|
# endif
|
|
#endif
|
|
/* If gnulib's <string.h> or <wchar.h> has already defined this macro, continue
|
|
to use this earlier definition, since <stdlib.h> may not have been included
|
|
yet. */
|
|
#ifndef _GL_ATTRIBUTE_DEALLOC_FREE
|
|
# if defined __cplusplus && defined __GNUC__ && !defined __clang__
|
|
/* Work around GCC bug <https://gcc.gnu.org/PR108231> */
|
|
# define _GL_ATTRIBUTE_DEALLOC_FREE \
|
|
_GL_ATTRIBUTE_DEALLOC ((void (*) (void *)) free, 1)
|
|
# else
|
|
# define _GL_ATTRIBUTE_DEALLOC_FREE \
|
|
_GL_ATTRIBUTE_DEALLOC (free, 1)
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_DEPRECATED: Declares that an entity is deprecated.
|
|
The compiler may warn if the entity is used. */
|
|
/* Applies to:
|
|
- function, variable,
|
|
- struct, union, struct/union member,
|
|
- enumeration, enumeration item,
|
|
- typedef,
|
|
in C++ also: namespace, class, template specialization. */
|
|
#ifndef _GL_ATTRIBUTE_DEPRECATED
|
|
# ifndef _GL_BRACKET_BEFORE_ATTRIBUTE
|
|
# if _GL_HAVE___HAS_C_ATTRIBUTE
|
|
# if __has_c_attribute (__deprecated__)
|
|
# define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
|
|
# endif
|
|
# endif
|
|
# endif
|
|
# if !defined _GL_ATTRIBUTE_DEPRECATED && _GL_HAS_ATTRIBUTE (deprecated)
|
|
# define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
|
|
# endif
|
|
# ifndef _GL_ATTRIBUTE_DEPRECATED
|
|
# define _GL_ATTRIBUTE_DEPRECATED
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_ERROR(msg) requests an error if a function is called and
|
|
the function call is not optimized away.
|
|
_GL_ATTRIBUTE_WARNING(msg) requests a warning if a function is called and
|
|
the function call is not optimized away. */
|
|
/* Applies to: functions. */
|
|
#if !(defined _GL_ATTRIBUTE_ERROR && defined _GL_ATTRIBUTE_WARNING)
|
|
# if _GL_HAS_ATTRIBUTE (error)
|
|
# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
|
|
# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
|
|
# elif _GL_HAS_ATTRIBUTE (diagnose_if)
|
|
# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error")))
|
|
# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning")))
|
|
# else
|
|
# define _GL_ATTRIBUTE_ERROR(msg)
|
|
# define _GL_ATTRIBUTE_WARNING(msg)
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_EXTERNALLY_VISIBLE declares that the entity should remain
|
|
visible to debuggers etc., even with '-fwhole-program'. */
|
|
/* Applies to: functions, variables. */
|
|
#ifndef _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
|
|
# if _GL_HAS_ATTRIBUTE (externally_visible)
|
|
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
|
|
# else
|
|
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_FALLTHROUGH declares that it is not a programming mistake if
|
|
the control flow falls through to the immediately following 'case' or
|
|
'default' label. The compiler should not warn in this case. */
|
|
/* Applies to: Empty statement (;), inside a 'switch' statement. */
|
|
/* Always expands to something. */
|
|
#ifndef _GL_ATTRIBUTE_FALLTHROUGH
|
|
# if _GL_HAVE___HAS_C_ATTRIBUTE
|
|
# if __has_c_attribute (__fallthrough__)
|
|
# define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
|
|
# endif
|
|
# endif
|
|
# if !defined _GL_ATTRIBUTE_FALLTHROUGH && _GL_HAS_ATTRIBUTE (fallthrough)
|
|
# define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
|
|
# endif
|
|
# ifndef _GL_ATTRIBUTE_FALLTHROUGH
|
|
# define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK))
|
|
declares that the STRING-INDEXth function argument is a format string of
|
|
style ARCHETYPE, which is one of:
|
|
printf, gnu_printf
|
|
scanf, gnu_scanf,
|
|
strftime, gnu_strftime,
|
|
strfmon,
|
|
or the same thing prefixed and suffixed with '__'.
|
|
If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK
|
|
are suitable for the format string. */
|
|
/* Applies to: functions. */
|
|
#ifndef _GL_ATTRIBUTE_FORMAT
|
|
# if _GL_HAS_ATTRIBUTE (format)
|
|
# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
|
|
# else
|
|
# define _GL_ATTRIBUTE_FORMAT(spec)
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_LEAF declares that if the function is called from some other
|
|
compilation unit, it executes code from that unit only by return or by
|
|
exception handling. This declaration lets the compiler optimize that unit
|
|
more aggressively. */
|
|
/* Applies to: functions. */
|
|
#ifndef _GL_ATTRIBUTE_LEAF
|
|
# if _GL_HAS_ATTRIBUTE (leaf)
|
|
# define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_LEAF
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly
|
|
allocated memory. */
|
|
/* Applies to: functions. */
|
|
#ifndef _GL_ATTRIBUTE_MALLOC
|
|
# if _GL_HAS_ATTRIBUTE (malloc)
|
|
# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_MALLOC
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_MAY_ALIAS declares that pointers to the type may point to the
|
|
same storage as pointers to other types. Thus this declaration disables
|
|
strict aliasing optimization. */
|
|
/* Applies to: types. */
|
|
/* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */
|
|
#ifndef _GL_ATTRIBUTE_MAY_ALIAS
|
|
# if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
|
|
# define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_MAY_ALIAS
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if
|
|
the entity is not used. The compiler should not warn if the entity is not
|
|
used. However, 'int _GL_UNNAMED (i)' is preferable to
|
|
'_GL_ATTRIBUTE_MAYBE_UNUSED int i' when parameter I is unused
|
|
regardless of preprocessor macro settings. */
|
|
/* Applies to:
|
|
- function, variable,
|
|
- struct, union, struct/union member,
|
|
- enumeration, enumeration item,
|
|
- typedef,
|
|
in C++ also: class. */
|
|
/* In C++ and C23, this is spelled [[__maybe_unused__]].
|
|
GCC's syntax is __attribute__ ((__unused__)).
|
|
clang supports both syntaxes. Except that with clang ≥ 6, < 10, in C++ mode,
|
|
__has_c_attribute (__maybe_unused__) yields true but the use of
|
|
[[__maybe_unused__]] nevertheless produces a warning. */
|
|
#ifndef _GL_ATTRIBUTE_MAYBE_UNUSED
|
|
# ifndef _GL_BRACKET_BEFORE_ATTRIBUTE
|
|
# if defined __clang__ && defined __cplusplus
|
|
# if !defined __apple_build_version__ && __clang_major__ >= 10
|
|
# define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
|
|
# endif
|
|
# elif _GL_HAVE___HAS_C_ATTRIBUTE
|
|
# if __has_c_attribute (__maybe_unused__)
|
|
# define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
|
|
# endif
|
|
# endif
|
|
# endif
|
|
# ifndef _GL_ATTRIBUTE_MAYBE_UNUSED
|
|
# define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED
|
|
# endif
|
|
#endif
|
|
/* Alternative spelling of this macro, for convenience and for
|
|
compatibility with glibc/include/libc-symbols.h. */
|
|
#define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
|
|
/* Earlier spellings of this macro. */
|
|
#define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
|
|
|
|
/* _GL_ATTRIBUTE_NODISCARD declares that the caller of the function should not
|
|
discard the return value. The compiler may warn if the caller does not use
|
|
the return value, unless the caller uses something like ignore_value. */
|
|
/* Applies to: function, enumeration, class. */
|
|
#ifndef _GL_ATTRIBUTE_NODISCARD
|
|
# ifndef _GL_BRACKET_BEFORE_ATTRIBUTE
|
|
# if defined __clang__ && defined __cplusplus
|
|
/* With clang up to 15.0.6 (at least), in C++ mode, [[__nodiscard__]] produces
|
|
a warning.
|
|
The 1000 below means a yet unknown threshold. When clang++ version X
|
|
starts supporting [[__nodiscard__]] without warning about it, you can
|
|
replace the 1000 with X. */
|
|
# if __clang_major__ >= 1000
|
|
# define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
|
|
# endif
|
|
# elif _GL_HAVE___HAS_C_ATTRIBUTE
|
|
# if __has_c_attribute (__nodiscard__)
|
|
# define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
|
|
# endif
|
|
# endif
|
|
# endif
|
|
# if !defined _GL_ATTRIBUTE_NODISCARD && _GL_HAS_ATTRIBUTE (warn_unused_result)
|
|
# define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
|
|
# endif
|
|
# ifndef _GL_ATTRIBUTE_NODISCARD
|
|
# define _GL_ATTRIBUTE_NODISCARD
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_NOINLINE tells that the compiler should not inline the
|
|
function. */
|
|
/* Applies to: functions. */
|
|
#ifndef _GL_ATTRIBUTE_NOINLINE
|
|
# if _GL_HAS_ATTRIBUTE (noinline)
|
|
# define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_NOINLINE
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_NONNULL ((N1, N2,...)) declares that the arguments N1, N2,...
|
|
must not be NULL.
|
|
_GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be
|
|
null. */
|
|
/* Applies to: functions. */
|
|
#ifndef _GL_ATTRIBUTE_NONNULL
|
|
# if _GL_HAS_ATTRIBUTE (nonnull)
|
|
# define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
|
|
# else
|
|
# define _GL_ATTRIBUTE_NONNULL(args)
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_NONNULL_IF_NONZERO (NP, NI) declares that the argument NP
|
|
(a pointer) must not be NULL if the argument NI (an integer) is != 0. */
|
|
/* Applies to: functions. */
|
|
#ifndef _GL_ATTRIBUTE_NONNULL_IF_NONZERO
|
|
# if _GL_HAS_ATTRIBUTE (nonnull_if_nonzero)
|
|
# define _GL_ATTRIBUTE_NONNULL_IF_NONZERO(np, ni) __attribute__ ((__nonnull_if_nonzero__ (np, ni)))
|
|
# else
|
|
# define _GL_ATTRIBUTE_NONNULL_IF_NONZERO(np, ni)
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is
|
|
not meant to be NUL-terminated. */
|
|
/* Applies to: struct/union members and variables that are arrays of element
|
|
type '[[un]signed] char'. */
|
|
#ifndef _GL_ATTRIBUTE_NONSTRING
|
|
# if _GL_HAS_ATTRIBUTE (nonstring)
|
|
# define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_NONSTRING
|
|
# endif
|
|
#endif
|
|
|
|
/* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */
|
|
|
|
/* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions.
|
|
*/
|
|
/* Applies to: functions. */
|
|
/* After a function's parameter list, this attribute must come first, before
|
|
other attributes. */
|
|
#ifndef _GL_ATTRIBUTE_NOTHROW
|
|
# if defined __cplusplus
|
|
# if _GL_GNUC_PREREQ (2, 8) || __clang_major__ >= 4
|
|
# if __cplusplus >= 201103L
|
|
# define _GL_ATTRIBUTE_NOTHROW noexcept (true)
|
|
# else
|
|
# define _GL_ATTRIBUTE_NOTHROW throw ()
|
|
# endif
|
|
# else
|
|
# define _GL_ATTRIBUTE_NOTHROW
|
|
# endif
|
|
# else
|
|
# if _GL_HAS_ATTRIBUTE (nothrow)
|
|
# define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_NOTHROW
|
|
# endif
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_PACKED declares:
|
|
For struct members: The member has the smallest possible alignment.
|
|
For struct, union, class: All members have the smallest possible alignment,
|
|
minimizing the memory required. */
|
|
/* Applies to: struct members, struct, union,
|
|
in C++ also: class. */
|
|
#ifndef _GL_ATTRIBUTE_PACKED
|
|
/* Oracle Studio 12.6 miscompiles code with __attribute__ ((__packed__)) despite
|
|
__has_attribute OK. */
|
|
# if _GL_HAS_ATTRIBUTE (packed) && !defined __SUNPRO_C
|
|
# define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_PACKED
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_PURE declares:
|
|
It is OK for a compiler to move a call, or omit a duplicate call
|
|
and reuse a cached return value, if observable state is the same.
|
|
It is also OK to omit a call if the return value is not used.
|
|
This attribute is safe if the function does not change observable state,
|
|
returns a value determined solely by its arguments's values
|
|
together with observable state, and always returns exactly once.
|
|
(This attribute is looser than _GL_ATTRIBUTE_CONST because the function
|
|
can depend on observable state.
|
|
Unlike _GL_ATTRIBUTE_REPRODUCIBLE the function must return exactly
|
|
once and cannot change state addressed by its arguments, but the
|
|
function can return a pointer to storage whose contents change later.) */
|
|
/* Applies to: functions. */
|
|
#ifndef _GL_ATTRIBUTE_PURE
|
|
# if _GL_HAS_ATTRIBUTE (pure)
|
|
# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_PURE
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_REPRODUCIBLE declares:
|
|
It is OK for a compiler to move a call, or omit a duplicate call
|
|
and reuse a cached value returned either directly or indirectly via
|
|
a pointer, if other observable state is the same;
|
|
however, pointer arguments cannot alias.
|
|
This attribute is safe for a function that is effectless and idempotent;
|
|
see ISO C 23 § 6.7.13.8 for a definition of these terms.
|
|
(This attribute is looser than _GL_ATTRIBUTE_UNSEQUENCED because
|
|
the function need not be stateless or independent.
|
|
Unlike _GL_ATTRIBUTE_PURE the function need not return exactly once
|
|
and can change state addressed by its pointer arguments, but the
|
|
function cannot return a pointer to storage whose contents change later.)
|
|
See also <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2956.htm> and
|
|
<https://stackoverflow.com/questions/76847905/>. */
|
|
/* Applies to: functions, pointer to functions, function types. */
|
|
#ifndef _GL_ATTRIBUTE_REPRODUCIBLE
|
|
/* This may be revisited when gcc and clang support [[reproducible]] or possibly
|
|
__attribute__ ((__reproducible__)). */
|
|
# ifndef _GL_BRACKET_BEFORE_ATTRIBUTE
|
|
# if _GL_HAS_ATTRIBUTE (reproducible)
|
|
# define _GL_ATTRIBUTE_REPRODUCIBLE [[reproducible]]
|
|
# endif
|
|
# endif
|
|
# ifndef _GL_ATTRIBUTE_REPRODUCIBLE
|
|
# define _GL_ATTRIBUTE_REPRODUCIBLE
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_RETURNS_NONNULL declares that the function's return value is
|
|
a non-NULL pointer. */
|
|
/* Applies to: functions. */
|
|
#ifndef _GL_ATTRIBUTE_RETURNS_NONNULL
|
|
# if _GL_HAS_ATTRIBUTE (returns_nonnull)
|
|
# define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_RETURNS_NONNULL
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_SENTINEL(pos) declares that the variadic function expects a
|
|
trailing NULL argument.
|
|
_GL_ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99).
|
|
_GL_ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */
|
|
/* Applies to: functions. */
|
|
#ifndef _GL_ATTRIBUTE_SENTINEL
|
|
# if _GL_HAS_ATTRIBUTE (sentinel)
|
|
# define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
|
|
# else
|
|
# define _GL_ATTRIBUTE_SENTINEL(pos)
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_ATTRIBUTE_UNSEQUENCED declares:
|
|
It is OK for a compiler to move a call, or omit a duplicate call
|
|
and reuse a cached value returned either directly or indirectly via
|
|
a pointer, if the state addressed by its pointer arguments is the same;
|
|
however, pointer arguments cannot alias.
|
|
This attribute is safe for a function that is effectless, idempotent,
|
|
stateless, and independent; see ISO C 23 § 6.7.13.8 for a definition of
|
|
these terms.
|
|
(This attribute is stricter than _GL_ATTRIBUTE_REPRODUCIBLE because
|
|
the function must be stateless and independent. Unlike
|
|
_GL_ATTRIBUTE_CONST the function need not return exactly once, and
|
|
can depend on state accessed via its pointer arguments or that
|
|
happens to have the same value for all calls to the function, but
|
|
the function cannot return a pointer to storage whose contents
|
|
change later.)
|
|
See also <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2956.htm> and
|
|
<https://stackoverflow.com/questions/76847905/>. */
|
|
/* Applies to: functions, pointer to functions, function types. */
|
|
#ifndef _GL_ATTRIBUTE_UNSEQUENCED
|
|
/* This may be revisited when gcc and clang support [[unsequenced]] or possibly
|
|
__attribute__ ((__unsequenced__)). */
|
|
# ifndef _GL_BRACKET_BEFORE_ATTRIBUTE
|
|
# if _GL_HAS_ATTRIBUTE (unsequenced)
|
|
# define _GL_ATTRIBUTE_UNSEQUENCED [[unsequenced]]
|
|
# endif
|
|
# endif
|
|
# ifndef _GL_ATTRIBUTE_UNSEQUENCED
|
|
# define _GL_ATTRIBUTE_UNSEQUENCED
|
|
# endif
|
|
#endif
|
|
|
|
/* A helper macro. Don't use it directly. */
|
|
#ifndef _GL_ATTRIBUTE_UNUSED
|
|
# if _GL_HAS_ATTRIBUTE (unused)
|
|
# define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
|
|
# else
|
|
# define _GL_ATTRIBUTE_UNUSED
|
|
# endif
|
|
#endif
|
|
|
|
|
|
/* _GL_UNUSED_LABEL; declares that it is not a programming mistake if the
|
|
immediately preceding label is not used. The compiler should not warn
|
|
if the label is not used. */
|
|
/* Applies to: label (both in C and C++). */
|
|
/* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;'
|
|
syntax. But clang does. */
|
|
#ifndef _GL_UNUSED_LABEL
|
|
# if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__
|
|
# define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED
|
|
# else
|
|
# define _GL_UNUSED_LABEL
|
|
# endif
|
|
#endif
|
|
|
|
/* _GL_UNNAMED (ID) is the "name" of an unnamed function parameter.
|
|
Each of the function's unnamed parameters should have a unique "name".
|
|
The "name" cannot be used. This ports both to C17 and earlier, which
|
|
lack unnamed parameters, and to C++ and later C, which have them. */
|
|
/* Applies to:
|
|
- function parameters. */
|
|
#ifndef _GL_UNNAMED
|
|
# if ((defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 202311 \
|
|
&& !defined __cplusplus)
|
|
# define _GL_UNNAMED(id) unnamed_##id _GL_ATTRIBUTE_UNUSED
|
|
# else
|
|
# define _GL_UNNAMED(id)
|
|
# endif
|
|
#endif
|
|
|
|
/* The following attributes enable detection of multithread-safety problems
|
|
and resource leaks at compile-time, by clang ≥ 15, when the warning option
|
|
-Wthread-safety is enabled. For usage, see
|
|
<https://clang.llvm.org/docs/ThreadSafetyAnalysis.html>. */
|
|
#ifndef _GL_ATTRIBUTE_CAPABILITY_TYPE
|
|
# if __clang_major__ >= 15
|
|
# define _GL_ATTRIBUTE_CAPABILITY_TYPE(concept) \
|
|
__attribute__ ((__capability__ (concept)))
|
|
# else
|
|
# define _GL_ATTRIBUTE_CAPABILITY_TYPE(concept)
|
|
# endif
|
|
#endif
|
|
#ifndef _GL_ATTRIBUTE_ACQUIRE_CAPABILITY
|
|
# if __clang_major__ >= 15
|
|
# define _GL_ATTRIBUTE_ACQUIRE_CAPABILITY(resource) \
|
|
__attribute__ ((__acquire_capability__ (resource)))
|
|
# else
|
|
# define _GL_ATTRIBUTE_ACQUIRE_CAPABILITY(resource)
|
|
# endif
|
|
#endif
|
|
#ifndef _GL_ATTRIBUTE_RELEASE_CAPABILITY
|
|
# if __clang_major__ >= 15
|
|
# define _GL_ATTRIBUTE_RELEASE_CAPABILITY(resource) \
|
|
__attribute__ ((__release_capability__ (resource)))
|
|
# else
|
|
# define _GL_ATTRIBUTE_RELEASE_CAPABILITY(resource)
|
|
# endif
|
|
#endif
|
|
|
|
|
|
/* In C++, there is the concept of "language linkage", that encompasses
|
|
name mangling and function calling conventions.
|
|
The following macros start and end a block of "C" linkage. */
|
|
#ifdef __cplusplus
|
|
# define _GL_BEGIN_C_LINKAGE extern "C" {
|
|
# define _GL_END_C_LINKAGE }
|
|
#else
|
|
# define _GL_BEGIN_C_LINKAGE
|
|
# define _GL_END_C_LINKAGE
|
|
#endif
|
|
|
|
|
|
/* Define as 'access' if you don't have the eaccess() function. */
|
|
#undef eaccess
|
|
|
|
/* Define as 'int' if <sys/types.h> doesn't define. */
|
|
#undef gid_t
|
|
|
|
/* A replacement for va_copy, if needed. */
|
|
#define gl_va_copy(a,b) ((a) = (b))
|
|
|
|
/* Define to '__inline__' or '__inline' if that's what the C compiler
|
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
#ifndef __cplusplus
|
|
#undef inline
|
|
#endif
|
|
|
|
/* Define to long or long long if <stdint.h> and <inttypes.h> don't define. */
|
|
#undef intmax_t
|
|
|
|
/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
|
|
the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
|
|
earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
|
|
__APPLE__ && __MACH__ test for Mac OS X.
|
|
__APPLE_CC__ tests for the Apple compiler and its version.
|
|
__STDC_VERSION__ tests for the C99 mode. */
|
|
#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
|
|
# define __GNUC_STDC_INLINE__ 1
|
|
#endif
|
|
|
|
/* Define to a type if <wchar.h> does not define. */
|
|
#undef mbstate_t
|
|
|
|
/* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where
|
|
n1 and n2 are expressions without side effects, that evaluate to real
|
|
numbers (excluding NaN).
|
|
It returns
|
|
1 if n1 > n2
|
|
0 if n1 == n2
|
|
-1 if n1 < n2
|
|
The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional
|
|
jump with nearly all GCC versions up to GCC 10.
|
|
This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional jump with
|
|
many GCC versions up to GCC 9.
|
|
The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9
|
|
avoids conditional jumps in all GCC versions >= 3.4. */
|
|
#define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2)))
|
|
|
|
|
|
/* Define to 'int' if <sys/types.h> does not define. */
|
|
#undef mode_t
|
|
|
|
/* Define to the type of st_nlink in struct stat, or a supertype. */
|
|
#undef nlink_t
|
|
|
|
/* Define to 'long int' if <sys/types.h> does not define. */
|
|
#undef off_t
|
|
|
|
/* Define as a signed integer type capable of holding a process identifier. */
|
|
#undef pid_t
|
|
|
|
/* Define as the type of the result of subtracting two pointers, if the system
|
|
doesn't define it. */
|
|
#undef ptrdiff_t
|
|
|
|
/* Define to rpl_re_comp if the replacement should be used. */
|
|
#undef re_comp
|
|
|
|
/* Define to rpl_re_compile_fastmap if the replacement should be used. */
|
|
#undef re_compile_fastmap
|
|
|
|
/* Define to rpl_re_compile_pattern if the replacement should be used. */
|
|
#undef re_compile_pattern
|
|
|
|
/* Define to rpl_re_exec if the replacement should be used. */
|
|
#undef re_exec
|
|
|
|
/* Define to rpl_re_match if the replacement should be used. */
|
|
#undef re_match
|
|
|
|
/* Define to rpl_re_match_2 if the replacement should be used. */
|
|
#undef re_match_2
|
|
|
|
/* Define to rpl_re_search if the replacement should be used. */
|
|
#undef re_search
|
|
|
|
/* Define to rpl_re_search_2 if the replacement should be used. */
|
|
#undef re_search_2
|
|
|
|
/* Define to rpl_re_set_registers if the replacement should be used. */
|
|
#undef re_set_registers
|
|
|
|
/* Define to rpl_re_set_syntax if the replacement should be used. */
|
|
#undef re_set_syntax
|
|
|
|
/* Define to rpl_re_syntax_options if the replacement should be used. */
|
|
#undef re_syntax_options
|
|
|
|
/* Define to rpl_regcomp if the replacement should be used. */
|
|
#undef regcomp
|
|
|
|
/* Define to rpl_regerror if the replacement should be used. */
|
|
#undef regerror
|
|
|
|
/* Define to rpl_regexec if the replacement should be used. */
|
|
#undef regexec
|
|
|
|
/* Define to rpl_regfree if the replacement should be used. */
|
|
#undef regfree
|
|
|
|
/* Define to the equivalent of the C99 'restrict' keyword, or to
|
|
nothing if this is not supported. Do not define if restrict is
|
|
supported only directly. */
|
|
#undef restrict
|
|
/* Work around a bug in older versions of Sun C++, which did not
|
|
#define __restrict__ or support _Restrict or __restrict__
|
|
even though the corresponding Sun C compiler ended up with
|
|
"#define restrict _Restrict" or "#define restrict __restrict__"
|
|
in the previous line. This workaround can be removed once
|
|
we assume Oracle Developer Studio 12.5 (2016) or later. */
|
|
#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
|
|
# define _Restrict
|
|
# define __restrict__
|
|
#endif
|
|
|
|
/* Define as an integer type suitable for memory locations that can be
|
|
accessed atomically even in the presence of asynchronous signals. */
|
|
#undef sig_atomic_t
|
|
|
|
/* Define as 'unsigned int' if <stddef.h> doesn't define. */
|
|
#undef size_t
|
|
|
|
/* type to use in place of socklen_t if not defined */
|
|
#undef socklen_t
|
|
|
|
/* Define as a signed type of the same size as size_t. */
|
|
#undef ssize_t
|
|
|
|
/* Define to 'struct sigaltstack' if that's the type of the argument to
|
|
sigaltstack */
|
|
#undef stack_t
|
|
|
|
/* Define as 'int' if <sys/types.h> doesn't define. */
|
|
#undef uid_t
|
|
|
|
|
|
/* This definition is a duplicate of the one in unitypes.h.
|
|
It is here so that we can cope with an older version of unitypes.h
|
|
that does not contain this definition and that is pre-installed among
|
|
the public header files. */
|
|
# if defined __restrict \
|
|
|| 2 < __GNUC__ + (95 <= __GNUC_MINOR__) \
|
|
|| __clang_major__ >= 3
|
|
# define _UC_RESTRICT __restrict
|
|
# elif 199901L <= __STDC_VERSION__ || defined restrict
|
|
# define _UC_RESTRICT restrict
|
|
# else
|
|
# define _UC_RESTRICT
|
|
# endif
|
|
|
|
|
|
/* Define as a macro for copying va_list variables. */
|
|
#undef va_copy
|
|
|
|
#if !defined HAVE_C_ALIGNASOF \
|
|
&& !(defined __cplusplus && 201103 <= __cplusplus) \
|
|
&& !defined alignof
|
|
# if defined HAVE_STDALIGN_H
|
|
# include <stdalign.h>
|
|
# endif
|
|
|
|
/* ISO C23 alignas and alignof for platforms that lack it.
|
|
|
|
References:
|
|
ISO C23 (latest free draft
|
|
<https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf>)
|
|
sections 6.2.8, 6.7.6.
|
|
C++11 (latest free draft
|
|
<https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf>)
|
|
section 18.10. */
|
|
|
|
/* alignof (TYPE), also known as _Alignof (TYPE), yields the alignment
|
|
requirement of a structure member (i.e., slot or field) that is of
|
|
type TYPE, as an integer constant expression.
|
|
|
|
This differs from GCC's and clang's __alignof__ operator, which can
|
|
yield a better-performing alignment for an object of that type. For
|
|
example, on x86 with GCC and on Linux/x86 with clang,
|
|
__alignof__ (double) and __alignof__ (long long) are 8, whereas
|
|
alignof (double) and alignof (long long) are 4 unless the option
|
|
'-malign-double' is used.
|
|
|
|
The result cannot be used as a value for an 'enum' constant, if you
|
|
want to be portable to HP-UX 10.20 cc and AIX 3.2.5 xlc. */
|
|
|
|
/* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023
|
|
<https://gcc.gnu.org/PR52023>.
|
|
clang versions < 8.0.0 have the same bug.
|
|
IBM XL C V16.1.0 cc (non-clang) has the same bug. */
|
|
# if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \
|
|
|| (defined __GNUC__ && __GNUC__ < 4 + (__GNUC_MINOR__ < 9) \
|
|
&& !defined __clang__) \
|
|
|| (defined __clang__ && __clang_major__ < 8) \
|
|
|| defined __xlC__)
|
|
# undef/**/_Alignof
|
|
# ifdef __cplusplus
|
|
# if (201103 <= __cplusplus || defined _MSC_VER)
|
|
# define _Alignof(type) alignof (type)
|
|
# else
|
|
template <class __t> struct __alignof_helper { char __a; __t __b; };
|
|
# if (defined __GNUC__ && 4 <= __GNUC__) || defined __clang__
|
|
# define _Alignof(type) __builtin_offsetof (__alignof_helper<type>, __b)
|
|
# else
|
|
# define _Alignof(type) offsetof (__alignof_helper<type>, __b)
|
|
# endif
|
|
# define _GL_STDALIGN_NEEDS_STDDEF 1
|
|
# endif
|
|
# else
|
|
# if (defined __GNUC__ && 4 <= __GNUC__) || defined __clang__
|
|
# define _Alignof(type) __builtin_offsetof (struct { char __a; type __b; }, __b)
|
|
# else
|
|
# define _Alignof(type) offsetof (struct { char __a; type __b; }, __b)
|
|
# define _GL_STDALIGN_NEEDS_STDDEF 1
|
|
# endif
|
|
# endif
|
|
# endif
|
|
# if ! (defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER))
|
|
# undef/**/alignof
|
|
# define alignof _Alignof
|
|
# endif
|
|
|
|
/* alignas (A), also known as _Alignas (A), aligns a variable or type
|
|
to the alignment A, where A is an integer constant expression. For
|
|
example:
|
|
|
|
int alignas (8) foo;
|
|
struct s { int a; int alignas (8) bar; };
|
|
|
|
aligns the address of FOO and the offset of BAR to be multiples of 8.
|
|
|
|
A should be a power of two that is at least the type's alignment
|
|
and at most the implementation's alignment limit. This limit is
|
|
2**28 on typical GNUish hosts, and 2**13 on MSVC. To be portable
|
|
to MSVC through at least version 10.0, A should be an integer
|
|
constant, as MSVC does not support expressions such as 1 << 3.
|
|
To be portable to Sun C 5.11, do not align auto variables to
|
|
anything stricter than their default alignment.
|
|
|
|
The following C23 requirements are not supported here:
|
|
|
|
- If A is zero, alignas has no effect.
|
|
- alignas can be used multiple times; the strictest one wins.
|
|
- alignas (TYPE) is equivalent to alignas (alignof (TYPE)).
|
|
|
|
*/
|
|
# if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112
|
|
# if defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER)
|
|
# define _Alignas(a) alignas (a)
|
|
# elif (!defined __attribute__ \
|
|
&& ((defined __APPLE__ && defined __MACH__ \
|
|
? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \
|
|
: __GNUC__ && !defined __ibmxl__) \
|
|
|| (4 <= __clang_major__) \
|
|
|| (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \
|
|
|| __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__))
|
|
# define _Alignas(a) __attribute__ ((__aligned__ (a)))
|
|
# elif 1300 <= _MSC_VER
|
|
# define _Alignas(a) __declspec (align (a))
|
|
# endif
|
|
# endif
|
|
# if !defined HAVE_STDALIGN_H
|
|
# if ((defined _Alignas \
|
|
&& !(defined __cplusplus \
|
|
&& (201103 <= __cplusplus || defined _MSC_VER))) \
|
|
|| (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__ \
|
|
&& !defined __xlC__))
|
|
# define alignas _Alignas
|
|
# endif
|
|
# endif
|
|
|
|
# if defined _GL_STDALIGN_NEEDS_STDDEF
|
|
# include <stddef.h>
|
|
# endif
|
|
#endif
|
|
|
|
#if !(defined __cplusplus \
|
|
? 1 \
|
|
: (defined __clang__ \
|
|
? __STDC_VERSION__ >= 202000L && __clang_major__ >= 15 \
|
|
: (defined __GNUC__ \
|
|
? __STDC_VERSION__ >= 202000L && __GNUC__ >= 13 \
|
|
: defined HAVE_C_BOOL)))
|
|
# if !defined __cplusplus && !defined __bool_true_false_are_defined
|
|
# if HAVE_STDBOOL_H
|
|
# include <stdbool.h>
|
|
# else
|
|
# if defined __SUNPRO_C
|
|
# error "<stdbool.h> is not usable with this configuration. To make it usable, add -D_STDC_C99= to $CC."
|
|
# else
|
|
# error "<stdbool.h> does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'."
|
|
# endif
|
|
# endif
|
|
# endif
|
|
# if !true
|
|
# define true (!false)
|
|
# endif
|
|
#endif
|
|
|
|
#if (!(defined __clang__ \
|
|
? (defined __cplusplus \
|
|
? __cplusplus >= 201703L \
|
|
: __STDC_VERSION__ >= 202000L && __clang_major__ >= 16 \
|
|
&& !defined __sun) \
|
|
: (defined __GNUC__ \
|
|
? (defined __cplusplus \
|
|
? __cplusplus >= 201103L && __GNUG__ >= 6 \
|
|
: __STDC_VERSION__ >= 202000L && __GNUC__ >= 13 \
|
|
&& !defined __sun) \
|
|
: defined HAVE_C_STATIC_ASSERT)) \
|
|
&& !defined assert \
|
|
&& (!defined __cplusplus \
|
|
|| (__cpp_static_assert < 201411 \
|
|
&& __GNUG__ < 6 && __clang_major__ < 6)))
|
|
#include <assert.h>
|
|
#undef/**/assert
|
|
/* Solaris 11.4 <assert.h> defines static_assert as a macro with 2 arguments.
|
|
We need it also to be invocable with a single argument.
|
|
Haiku 2022 <assert.h> does not define static_assert at all. */
|
|
#if (__STDC_VERSION__ - 0 >= 201112L) && !defined __cplusplus
|
|
#undef/**/static_assert
|
|
#define static_assert _Static_assert
|
|
#endif
|
|
#endif
|
|
|
|
#if defined __GNUC__ && __GNUC__ >= 15 && !defined __clang__
|
|
# pragma GCC diagnostic pop
|
|
#endif
|
|
|
|
|
|
|
|
/* The text domainname for Gnulib messages. Ordinarily this is "gnulib",
|
|
but packages that do their own translations of Gnulib can use something
|
|
different by defining GNULIB_TEXT_DOMAIN in their config.h file. */
|
|
#ifndef GNULIB_TEXT_DOMAIN
|
|
# define GNULIB_TEXT_DOMAIN/**/"gnulib"
|
|
#endif
|
|
|