mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 12:49:00 +08:00
a709191a63
* [libidn2] Update to version 2.3.1. * [libidn2] Update CI baseline * Update version database.
1290 lines
44 KiB
C
1290 lines
44 KiB
C
/* config.h. Generated from config.h.in by configure. */
|
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* 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 to 1 if using 'alloca.c'. */
|
|
/* #undef C_ALLOCA */
|
|
|
|
/* Define to 1 if // is a file system root distinct from /. */
|
|
/* #undef DOUBLE_SLASH_IS_DISTINCT_ROOT */
|
|
|
|
/* 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 a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module fscanf shall be considered present. */
|
|
#define GNULIB_FSCANF 1
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module msvc-nothrow shall be considered present. */
|
|
#define GNULIB_MSVC_NOTHROW 1
|
|
|
|
/* Define to 1 if printf and friends should be labeled with attribute
|
|
"__gnu_printf__" instead of "__printf__" */
|
|
#define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module scanf shall be considered present. */
|
|
#define GNULIB_SCANF 1
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module strerror shall be considered present. */
|
|
#define GNULIB_STRERROR 1
|
|
|
|
/* Define to 1 when the gnulib module getdelim should be tested. */
|
|
/* #undef GNULIB_TEST_GETDELIM */
|
|
|
|
/* Define to 1 when the gnulib module getline should be tested. */
|
|
/* #undef GNULIB_TEST_GETLINE */
|
|
|
|
/* Define to 1 when the gnulib module malloc-posix should be tested. */
|
|
/* #undef GNULIB_TEST_MALLOC_POSIX */
|
|
|
|
/* Define to 1 when the gnulib module rawmemchr should be tested. */
|
|
/* #undef GNULIB_TEST_RAWMEMCHR */
|
|
|
|
/* Define to 1 when the gnulib module strchrnul should be tested. */
|
|
/* #undef GNULIB_TEST_STRCHRNUL */
|
|
|
|
/* Define to 1 when the gnulib module strerror should be tested. */
|
|
/* #undef GNULIB_TEST_STRERROR */
|
|
|
|
/* Define to 1 when the gnulib module strverscmp should be tested. */
|
|
/* #undef GNULIB_TEST_STRVERSCMP */
|
|
|
|
/* Define to 1 when the gnulib module uninorm/u32-normalize should be tested.
|
|
*/
|
|
/* #undef GNULIB_TEST_UNINORM_U32_NORMALIZE */
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module unistr/u32-mbtouc-unsafe shall be considered
|
|
present. */
|
|
#define GNULIB_UNISTR_U32_MBTOUC_UNSAFE 1
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module unistr/u32-uctomb shall be considered present. */
|
|
#define GNULIB_UNISTR_U32_UCTOMB 1
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module unistr/u8-mbtouc shall be considered present. */
|
|
#define GNULIB_UNISTR_U8_MBTOUC 1
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module unistr/u8-mbtoucr shall be considered present. */
|
|
#define GNULIB_UNISTR_U8_MBTOUCR 1
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module unistr/u8-mbtouc-unsafe shall be considered
|
|
present. */
|
|
#define GNULIB_UNISTR_U8_MBTOUC_UNSAFE 1
|
|
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
|
whether the gnulib module unistr/u8-uctomb shall be considered present. */
|
|
#define GNULIB_UNISTR_U8_UCTOMB 1
|
|
|
|
/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
|
|
may be supplied by this distribution. */
|
|
#define HAVE_ALLOCA 1
|
|
|
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
|
*/
|
|
/* #undef HAVE_ALLOCA_H */
|
|
|
|
/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
|
|
CoreFoundation framework. */
|
|
/* #undef HAVE_CFLOCALECOPYCURRENT */
|
|
|
|
/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
|
|
the CoreFoundation framework. */
|
|
/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
|
|
|
|
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
|
*/
|
|
#define HAVE_DCGETTEXT 1
|
|
|
|
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
|
don't. */
|
|
#define HAVE_DECL_GETC_UNLOCKED 0
|
|
|
|
/* Define to 1 if you have the declaration of `getdelim', and to 0 if you
|
|
don't. */
|
|
#define HAVE_DECL_GETDELIM 0
|
|
|
|
/* Define to 1 if you have the declaration of `getline', and to 0 if you
|
|
don't. */
|
|
#define HAVE_DECL_GETLINE 0
|
|
|
|
/* Define to 1 if you have the declaration of `program_invocation_name', and
|
|
to 0 if you don't. */
|
|
#define HAVE_DECL_PROGRAM_INVOCATION_NAME 0
|
|
|
|
/* Define to 1 if you have the declaration of `program_invocation_short_name',
|
|
and to 0 if you don't. */
|
|
#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0
|
|
|
|
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
|
don't. */
|
|
#define HAVE_DECL_STRERROR_R 0
|
|
|
|
/* Define to 1 if you have the declaration of `__argv', and to 0 if you don't.
|
|
*/
|
|
#define HAVE_DECL___ARGV 1
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
/* #undef HAVE_DLFCN_H */
|
|
|
|
/* Define to 1 if you have the `flockfile' function. */
|
|
/* #undef HAVE_FLOCKFILE */
|
|
|
|
/* Define to 1 if you have the `funlockfile' function. */
|
|
/* #undef HAVE_FUNLOCKFILE */
|
|
|
|
/* Define to 1 if you have the 'getdelim' function. */
|
|
/* #undef HAVE_GETDELIM */
|
|
|
|
/* Define to 1 if you have the 'getexecname' function. */
|
|
/* #undef HAVE_GETEXECNAME */
|
|
|
|
/* Define to 1 if you have the 'getprogname' function. */
|
|
/* #undef HAVE_GETPROGNAME */
|
|
|
|
/* Define if the GNU gettext() function is already present or preinstalled. */
|
|
#define HAVE_GETTEXT 1
|
|
|
|
/* Define if you have the iconv() function and it works. */
|
|
#define HAVE_ICONV 1
|
|
|
|
/* Define to 1 if you have the <iconv.h> header file. */
|
|
#define HAVE_ICONV_H 1
|
|
|
|
/* Define to 1 if the compiler supports one of the keywords 'inline',
|
|
'__inline__', '__inline' and effectively inlines functions marked as such.
|
|
*/
|
|
#define HAVE_INLINE 1
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#define HAVE_INTTYPES_H 1
|
|
|
|
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
|
/* #undef HAVE_LANGINFO_CODESET */
|
|
|
|
/* Define if you have the libunistring library. */
|
|
/* #undef HAVE_LIBUNISTRING */
|
|
|
|
/* Define to 1 if you have the <limits.h> header file. */
|
|
#define HAVE_LIMITS_H 1
|
|
|
|
/* Define to 1 if the system has the type 'long long int'. */
|
|
#define HAVE_LONG_LONG_INT 1
|
|
|
|
/* Define if the 'malloc' function is POSIX compliant. */
|
|
/* #undef HAVE_MALLOC_POSIX */
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#define HAVE_MEMORY_H 1
|
|
|
|
/* Define to 1 on MSVC platforms that have the "invalid parameter handler"
|
|
concept. */
|
|
#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
|
|
|
|
/* Define to 1 if you have the `rawmemchr' function. */
|
|
/* #undef HAVE_RAWMEMCHR */
|
|
|
|
/* Define to 1 if atoll is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_ATOLL 1
|
|
|
|
/* Define to 1 if canonicalize_file_name is declared even after undefining
|
|
macros. */
|
|
/* #undef HAVE_RAW_DECL_CANONICALIZE_FILE_NAME */
|
|
|
|
/* Define to 1 if chdir is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_CHDIR */
|
|
|
|
/* Define to 1 if chown is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_CHOWN */
|
|
|
|
/* Define to 1 if dprintf is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_DPRINTF */
|
|
|
|
/* Define to 1 if dup is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_DUP */
|
|
|
|
/* Define to 1 if dup2 is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_DUP2 */
|
|
|
|
/* Define to 1 if dup3 is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_DUP3 */
|
|
|
|
/* Define to 1 if endusershell is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_ENDUSERSHELL */
|
|
|
|
/* Define to 1 if environ is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_ENVIRON */
|
|
|
|
/* Define to 1 if euidaccess is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_EUIDACCESS */
|
|
|
|
/* Define to 1 if faccessat is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_FACCESSAT */
|
|
|
|
/* Define to 1 if fchdir is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_FCHDIR */
|
|
|
|
/* Define to 1 if fchownat is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_FCHOWNAT */
|
|
|
|
/* Define to 1 if fdatasync is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_FDATASYNC */
|
|
|
|
/* Define to 1 if ffsl is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_FFSL */
|
|
|
|
/* Define to 1 if ffsll is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_FFSLL */
|
|
|
|
/* Define to 1 if fpurge is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_FPURGE */
|
|
|
|
/* Define to 1 if fseeko is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_FSEEKO 1
|
|
|
|
/* Define to 1 if fsync is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_FSYNC */
|
|
|
|
/* Define to 1 if ftello is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_FTELLO 1
|
|
|
|
/* Define to 1 if ftruncate is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_FTRUNCATE 1
|
|
|
|
/* Define to 1 if getcwd is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETCWD */
|
|
|
|
/* Define to 1 if getdelim is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETDELIM */
|
|
|
|
/* Define to 1 if getdomainname is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETDOMAINNAME */
|
|
|
|
/* Define to 1 if getdtablesize is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETDTABLESIZE */
|
|
|
|
/* Define to 1 if getgroups is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETGROUPS */
|
|
|
|
/* Define to 1 if gethostname is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETHOSTNAME */
|
|
|
|
/* Define to 1 if getline is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETLINE */
|
|
|
|
/* Define to 1 if getloadavg is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETLOADAVG */
|
|
|
|
/* Define to 1 if getlogin is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETLOGIN */
|
|
|
|
/* Define to 1 if getlogin_r is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETLOGIN_R */
|
|
|
|
/* Define to 1 if getpagesize is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETPAGESIZE */
|
|
|
|
/* Define to 1 if gets is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETS */
|
|
|
|
/* Define to 1 if getsubopt is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETSUBOPT */
|
|
|
|
/* Define to 1 if getusershell is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GETUSERSHELL */
|
|
|
|
/* Define to 1 if grantpt is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GRANTPT */
|
|
|
|
/* Define to 1 if group_member is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_GROUP_MEMBER */
|
|
|
|
/* Define to 1 if initstate is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_INITSTATE */
|
|
|
|
/* Define to 1 if initstate_r is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_INITSTATE_R */
|
|
|
|
/* Define to 1 if isatty is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_ISATTY */
|
|
|
|
/* Define to 1 if lchown is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_LCHOWN */
|
|
|
|
/* Define to 1 if link is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_LINK */
|
|
|
|
/* Define to 1 if linkat is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_LINKAT */
|
|
|
|
/* Define to 1 if lseek is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_LSEEK */
|
|
|
|
/* Define to 1 if memmem is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_MEMMEM */
|
|
|
|
/* Define to 1 if mempcpy is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_MEMPCPY */
|
|
|
|
/* Define to 1 if memrchr is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_MEMRCHR */
|
|
|
|
/* Define to 1 if mkdtemp is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_MKDTEMP */
|
|
|
|
/* Define to 1 if mkostemp is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_MKOSTEMP */
|
|
|
|
/* Define to 1 if mkostemps is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_MKOSTEMPS */
|
|
|
|
/* Define to 1 if mkstemp is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_MKSTEMP */
|
|
|
|
/* Define to 1 if mkstemps is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_MKSTEMPS */
|
|
|
|
/* Define to 1 if pclose is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_PCLOSE */
|
|
|
|
/* Define to 1 if pipe is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_PIPE */
|
|
|
|
/* Define to 1 if pipe2 is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_PIPE2 */
|
|
|
|
/* Define to 1 if popen is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_POPEN */
|
|
|
|
/* Define to 1 if posix_openpt is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_POSIX_OPENPT */
|
|
|
|
/* Define to 1 if pread is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_PREAD */
|
|
|
|
/* Define to 1 if ptsname is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_PTSNAME */
|
|
|
|
/* Define to 1 if ptsname_r is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_PTSNAME_R */
|
|
|
|
/* Define to 1 if pwrite is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_PWRITE */
|
|
|
|
/* Define to 1 if qsort_r is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_QSORT_R */
|
|
|
|
/* Define to 1 if random is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_RANDOM */
|
|
|
|
/* Define to 1 if random_r is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_RANDOM_R */
|
|
|
|
/* Define to 1 if rawmemchr is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_RAWMEMCHR */
|
|
|
|
/* Define to 1 if readlink is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_READLINK */
|
|
|
|
/* Define to 1 if readlinkat is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_READLINKAT */
|
|
|
|
/* Define to 1 if realpath is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_REALPATH */
|
|
|
|
/* Define to 1 if renameat is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_RENAMEAT */
|
|
|
|
/* Define to 1 if rmdir is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_RMDIR */
|
|
|
|
/* Define to 1 if rpmatch is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_RPMATCH */
|
|
|
|
/* Define to 1 if secure_getenv is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_SECURE_GETENV */
|
|
|
|
/* Define to 1 if setenv is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_SETENV */
|
|
|
|
/* Define to 1 if sethostname is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_SETHOSTNAME */
|
|
|
|
/* Define to 1 if setstate is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_SETSTATE */
|
|
|
|
/* Define to 1 if setstate_r is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_SETSTATE_R */
|
|
|
|
/* Define to 1 if setusershell is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_SETUSERSHELL */
|
|
|
|
/* Define to 1 if sleep is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_SLEEP 1
|
|
|
|
/* Define to 1 if snprintf is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_SNPRINTF 1
|
|
|
|
/* Define to 1 if srandom is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_SRANDOM */
|
|
|
|
/* Define to 1 if srandom_r is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_SRANDOM_R */
|
|
|
|
/* Define to 1 if stpcpy is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STPCPY */
|
|
|
|
/* Define to 1 if stpncpy is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STPNCPY */
|
|
|
|
/* Define to 1 if strcasestr is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STRCASESTR */
|
|
|
|
/* Define to 1 if strchrnul is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STRCHRNUL */
|
|
|
|
/* Define to 1 if strdup is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_STRDUP 1
|
|
|
|
/* Define to 1 if strerror_r is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STRERROR_R */
|
|
|
|
/* Define to 1 if strncat is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_STRNCAT 1
|
|
|
|
/* Define to 1 if strndup is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STRNDUP */
|
|
|
|
/* Define to 1 if strnlen is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_STRNLEN 1
|
|
|
|
/* Define to 1 if strpbrk is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STRPBRK */
|
|
|
|
/* Define to 1 if strsep is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STRSEP */
|
|
|
|
/* Define to 1 if strsignal is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STRSIGNAL */
|
|
|
|
/* Define to 1 if strtod is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_STRTOD 1
|
|
|
|
/* Define to 1 if strtok_r is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STRTOK_R */
|
|
|
|
/* Define to 1 if strtoll is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STRTOLL */
|
|
|
|
/* Define to 1 if strtoull is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STRTOULL */
|
|
|
|
/* Define to 1 if strverscmp is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STRVERSCMP */
|
|
|
|
/* Define to 1 if symlink is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_SYMLINK */
|
|
|
|
/* Define to 1 if symlinkat is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_SYMLINKAT */
|
|
|
|
/* Define to 1 if tmpfile is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_TMPFILE */
|
|
|
|
/* Define to 1 if truncate is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_TRUNCATE 1
|
|
|
|
/* Define to 1 if ttyname_r is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_TTYNAME_R */
|
|
|
|
/* Define to 1 if unlink is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_UNLINK 1
|
|
|
|
/* Define to 1 if unlinkat is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_UNLINKAT */
|
|
|
|
/* Define to 1 if unlockpt is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_UNLOCKPT */
|
|
|
|
/* Define to 1 if unsetenv is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_UNSETENV */
|
|
|
|
/* Define to 1 if usleep is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_USLEEP 1
|
|
|
|
/* Define to 1 if vdprintf is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_VDPRINTF */
|
|
|
|
/* Define to 1 if vsnprintf is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_VSNPRINTF 1
|
|
|
|
/* Define to 1 if _Exit is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL__EXIT 1
|
|
|
|
/* 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 you have the <stdint.h> header file. */
|
|
#define HAVE_STDINT_H 1
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#define HAVE_STDLIB_H 1
|
|
|
|
/* Define to 1 if you have the `strchrnul' function. */
|
|
/* #undef HAVE_STRCHRNUL */
|
|
|
|
/* 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. */
|
|
#define HAVE_STRING_H 1
|
|
|
|
/* Define to 1 if you have the `strverscmp' function. */
|
|
/* #undef HAVE_STRVERSCMP */
|
|
|
|
/* 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/socket.h> header file. */
|
|
/* #undef HAVE_SYS_SOCKET_H */
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#define HAVE_SYS_STAT_H 1
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
/* #undef HAVE_UNISTD_H */
|
|
|
|
/* Define to 1 if the system has the type 'unsigned long long int'. */
|
|
#define HAVE_UNSIGNED_LONG_LONG_INT 1
|
|
|
|
/* Define if you have a global __progname variable */
|
|
/* #undef HAVE_VAR___PROGNAME */
|
|
|
|
/* Define to 1 or 0, depending whether the compiler supports simple visibility
|
|
declarations. */
|
|
/* #undef HAVE_VISIBILITY */
|
|
|
|
/* Define to 1 if you have the <wchar.h> header file. */
|
|
#define HAVE_WCHAR_H 1
|
|
|
|
/* Define if you have the 'wchar_t' type. */
|
|
#define HAVE_WCHAR_T 1
|
|
|
|
/* Define to 1 if you have the <winsock2.h> header file. */
|
|
#define HAVE_WINSOCK2_H 1
|
|
|
|
/* Define if you have the 'wint_t' type. */
|
|
#define HAVE_WINT_T 1
|
|
|
|
/* Define to 1 if O_NOATIME works. */
|
|
#define HAVE_WORKING_O_NOATIME 0
|
|
|
|
/* Define to 1 if O_NOFOLLOW works. */
|
|
#define HAVE_WORKING_O_NOFOLLOW 0
|
|
|
|
/* Define to 1 if the system has the type `_Bool'. */
|
|
#define HAVE__BOOL 1
|
|
|
|
/* Define to 1 if you have the '_set_invalid_parameter_handler' function. */
|
|
#define HAVE__SET_INVALID_PARAMETER_HANDLER 1
|
|
|
|
/* Define as const if the declaration of iconv() needs const. */
|
|
#define ICONV_CONST
|
|
|
|
/* Define to a symbolic name denoting the flavor of iconv_open()
|
|
implementation. */
|
|
/* #undef ICONV_FLAVOR */
|
|
|
|
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
|
#define LT_OBJDIR ".libs/"
|
|
|
|
/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
|
|
#define MALLOC_0_IS_NONNULL 1
|
|
|
|
/* Use GNU style printf and scanf. */
|
|
#ifndef __USE_MINGW_ANSI_STDIO
|
|
# define __USE_MINGW_ANSI_STDIO 1
|
|
#endif
|
|
|
|
|
|
/* Name of package */
|
|
#define PACKAGE "libidn2"
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#define PACKAGE_BUGREPORT "help-libidn@gnu.org"
|
|
|
|
/* Define to the full name of this package. */
|
|
#define PACKAGE_NAME "libidn2"
|
|
|
|
/* 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. */
|
|
#define PACKAGE_STRING "libidn2 @IDN2_VERSION@"
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#define PACKAGE_TARNAME "libidn2"
|
|
|
|
/* Define to the home page for this package. */
|
|
#define PACKAGE_URL "https://www.gnu.org/software/libidn/#libidn2"
|
|
|
|
/* Define to the version of this package. */
|
|
#define PACKAGE_VERSION "@IDN2_VERSION@"
|
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
'ptrdiff_t'. */
|
|
/* #undef PTRDIFF_T_SUFFIX */
|
|
|
|
/* Define to 1 if strerror(0) does not return a message implying success. */
|
|
/* #undef REPLACE_STRERROR_0 */
|
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
'sig_atomic_t'. */
|
|
/* #undef SIG_ATOMIC_T_SUFFIX */
|
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
'size_t'. */
|
|
/* #undef SIZE_T_SUFFIX */
|
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
direction of stack growth for your system; otherwise it will be
|
|
automatically deduced at runtime.
|
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
|
STACK_DIRECTION = 0 => direction of growth unknown */
|
|
/* #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 you have the ANSI C header files. */
|
|
#define STDC_HEADERS 1
|
|
|
|
/* Define to 1 if strerror_r returns char *. */
|
|
/* #undef STRERROR_R_CHAR_P */
|
|
|
|
/* 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 */
|
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
|
#ifndef _ALL_SOURCE
|
|
# define _ALL_SOURCE 1
|
|
#endif
|
|
/* Enable general extensions on macOS. */
|
|
#ifndef _DARWIN_C_SOURCE
|
|
# define _DARWIN_C_SOURCE 1
|
|
#endif
|
|
/* Enable general extensions on Solaris. */
|
|
#ifndef __EXTENSIONS__
|
|
/* # undef __EXTENSIONS__ */
|
|
#endif
|
|
/* Enable GNU extensions on systems that have them. */
|
|
#ifndef _GNU_SOURCE
|
|
# define _GNU_SOURCE 1
|
|
#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
|
|
# define _POSIX_PTHREAD_SEMANTICS 1
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
|
|
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
|
|
# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
|
|
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
|
|
# define __STDC_WANT_IEC_60559_BFP_EXT__ 1
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
|
|
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
|
|
# define __STDC_WANT_IEC_60559_DFP_EXT__ 1
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
|
|
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
|
|
# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
|
|
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
|
|
# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
|
|
#ifndef __STDC_WANT_LIB_EXT2__
|
|
# define __STDC_WANT_LIB_EXT2__ 1
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC 24747:2009. */
|
|
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
|
|
# define __STDC_WANT_MATH_SPEC_FUNCS__ 1
|
|
#endif
|
|
/* Enable extensions on HP NonStop. */
|
|
#ifndef _TANDEM_SOURCE
|
|
# define _TANDEM_SOURCE 1
|
|
#endif
|
|
/* Enable X/Open extensions. Define to 500 only if necessary
|
|
to make mbstate_t available. */
|
|
#ifndef _XOPEN_SOURCE
|
|
/* # undef _XOPEN_SOURCE */
|
|
#endif
|
|
|
|
|
|
/* Version number of package */
|
|
#define VERSION "@IDN2_VERSION@"
|
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
'wchar_t'. */
|
|
/* #undef WCHAR_T_SUFFIX */
|
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
'wint_t'. */
|
|
/* #undef WINT_T_SUFFIX */
|
|
|
|
/* 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. */
|
|
#if defined __GNUC__ && defined __GNUC_MINOR__
|
|
# define _GL_GNUC_PREREQ(major, minor) \
|
|
((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
|
|
#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 for large files, on AIX-style hosts. */
|
|
/* #undef _LARGE_FILES */
|
|
|
|
/* The _Noreturn keyword of C11. */
|
|
#ifndef _Noreturn
|
|
# if (defined __cplusplus \
|
|
&& ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
|
|
|| (defined _MSC_VER && 1900 <= _MSC_VER)) \
|
|
&& 0)
|
|
/* [[noreturn]] is not practically usable, because with it the syntax
|
|
extern _Noreturn void func (...);
|
|
would not be valid; such a declaration would only be valid 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'. */
|
|
# define _Noreturn [[noreturn]]
|
|
# elif ((!defined __cplusplus || defined __clang__) \
|
|
&& (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
|
|
|| (!defined __STRICT_ANSI__ \
|
|
&& (_GL_GNUC_PREREQ (4, 7) \
|
|
|| (defined __apple_build_version__ \
|
|
? 6000000 <= __apple_build_version__ \
|
|
: 3 < __clang_major__ + (5 <= __clang_minor__))))))
|
|
/* _Noreturn works as-is. */
|
|
# elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
|
|
# define _Noreturn __attribute__ ((__noreturn__))
|
|
# elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
|
|
# define _Noreturn __declspec (noreturn)
|
|
# else
|
|
# define _Noreturn
|
|
# endif
|
|
#endif
|
|
|
|
|
|
/* For standard stat data types on VMS. */
|
|
#define _USE_STD_STAT 1
|
|
|
|
/* Define to rpl_ if the getopt replacement functions and variables should be
|
|
used. */
|
|
/* #undef __GETOPT_PREFIX */
|
|
|
|
/* 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 */
|
|
|
|
/* 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. */
|
|
#if (defined __has_attribute \
|
|
&& (!defined __clang_minor__ \
|
|
|| 3 < __clang_major__ + (5 <= __clang_minor__)))
|
|
# define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
|
|
#else
|
|
# define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
|
|
# 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)
|
|
# ifdef _ICC
|
|
# define _GL_ATTR_may_alias 0
|
|
# else
|
|
# define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
|
|
# endif
|
|
# define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
|
|
# define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
|
|
# define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
|
|
# 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_returns_nonnull _GL_GNUC_PREREQ (4, 9)
|
|
# define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
|
|
# define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
|
|
# define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
|
|
#endif
|
|
|
|
|
|
#if _GL_HAS_ATTRIBUTE (alloc_size)
|
|
# define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
|
|
#else
|
|
# define _GL_ATTRIBUTE_ALLOC_SIZE(args)
|
|
#endif
|
|
|
|
#if _GL_HAS_ATTRIBUTE (always_inline)
|
|
# define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_ALWAYS_INLINE
|
|
#endif
|
|
|
|
#if _GL_HAS_ATTRIBUTE (artificial)
|
|
# define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_ARTIFICIAL
|
|
#endif
|
|
|
|
/* 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__'. */
|
|
#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
|
|
|
|
#if _GL_HAS_ATTRIBUTE (const)
|
|
# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_CONST
|
|
#endif
|
|
|
|
#if 201710L < __STDC_VERSION__
|
|
# define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
|
|
#elif _GL_HAS_ATTRIBUTE (deprecated)
|
|
# define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_DEPRECATED
|
|
#endif
|
|
|
|
#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
|
|
|
|
#if _GL_HAS_ATTRIBUTE (externally_visible)
|
|
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
|
|
#else
|
|
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
|
|
#endif
|
|
|
|
/* FALLTHROUGH is special, because it always expands to something. */
|
|
#if 201710L < __STDC_VERSION__
|
|
# define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
|
|
#elif _GL_HAS_ATTRIBUTE (fallthrough)
|
|
# define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
|
|
#endif
|
|
|
|
#if _GL_HAS_ATTRIBUTE (format)
|
|
# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
|
|
#else
|
|
# define _GL_ATTRIBUTE_FORMAT(spec)
|
|
#endif
|
|
|
|
#if _GL_HAS_ATTRIBUTE (leaf)
|
|
# define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_LEAF
|
|
#endif
|
|
|
|
/* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */
|
|
#if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
|
|
# define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_MAY_ALIAS
|
|
#endif
|
|
|
|
#if 201710L < __STDC_VERSION__
|
|
# define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
|
|
#elif _GL_HAS_ATTRIBUTE (unused)
|
|
# define _GL_ATTRIBUTE_MAYBE_UNUSED __attribute__ ((__unused__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_MAYBE_UNUSED
|
|
#endif
|
|
/* Earlier spellings of this macro. */
|
|
#define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
|
|
#define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
|
|
|
|
#if _GL_HAS_ATTRIBUTE (malloc)
|
|
# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_MALLOC
|
|
#endif
|
|
|
|
#if 201710L < __STDC_VERSION__
|
|
# define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
|
|
#elif _GL_HAS_ATTRIBUTE (warn_unused_result)
|
|
# define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_NODISCARD
|
|
#endif
|
|
|
|
#if _GL_HAS_ATTRIBUTE (noinline)
|
|
# define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_NOINLINE
|
|
#endif
|
|
|
|
#if _GL_HAS_ATTRIBUTE (nonnull)
|
|
# define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
|
|
#else
|
|
# define _GL_ATTRIBUTE_NONNULL(args)
|
|
#endif
|
|
|
|
#if _GL_HAS_ATTRIBUTE (nonstring)
|
|
# define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_NONSTRING
|
|
#endif
|
|
|
|
/* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */
|
|
|
|
#if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus
|
|
# define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_NOTHROW
|
|
#endif
|
|
|
|
#if _GL_HAS_ATTRIBUTE (packed)
|
|
# define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_PACKED
|
|
#endif
|
|
|
|
#if _GL_HAS_ATTRIBUTE (pure)
|
|
# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_PURE
|
|
#endif
|
|
|
|
#if _GL_HAS_ATTRIBUTE (returns_nonnull)
|
|
# define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
|
|
#else
|
|
# define _GL_ATTRIBUTE_RETURNS_NONNULL
|
|
#endif
|
|
|
|
#if _GL_HAS_ATTRIBUTE (sentinel)
|
|
# define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
|
|
#else
|
|
# define _GL_ATTRIBUTE_SENTINEL(pos)
|
|
#endif
|
|
|
|
|
|
/* To support C++ as well as C, use _GL_UNUSED_LABEL with trailing ';'. */
|
|
#if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5)
|
|
# define _GL_UNUSED_LABEL _GL_ATTRIBUTE_MAYBE_UNUSED
|
|
#else
|
|
# define _GL_UNUSED_LABEL
|
|
#endif
|
|
|
|
|
|
/* 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 Sun C 5.12 SunOS_i386 2011/11/16.
|
|
|
|
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 the C standard prohibits extern inline functions
|
|
from calling static functions (ISO C 99 section 6.7.4.(3).
|
|
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 __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__ \
|
|
: (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 _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 static _GL_UNUSED
|
|
# define _GL_EXTERN_INLINE static _GL_UNUSED
|
|
#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/bugzilla/show_bug.cgi?id=54113> and
|
|
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
|
|
#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
|
|
|
|
/* 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
|
|
|
|
/* 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
|
|
|
|
/* _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 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 as a signed integer type capable of holding a process identifier. */
|
|
/* #undef pid_t */
|
|
|
|
/* 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. */
|
|
#define restrict __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 to `unsigned int' if <sys/types.h> does not define. */
|
|
/* #undef size_t */
|
|
|
|
/* Define as a signed type of the same size as size_t. */
|
|
#define ssize_t intptr_t
|
|
|
|
/* Define as a macro for copying va_list variables. */
|
|
/* #undef va_copy */
|