/* 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 one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
systems. This function is required for `alloca.c' support on those systems.
|
*/
|
/* #undef CRAY_STACKSEG_END */
|
|
/* 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 as good substitute value for EILSEQ. */
|
/* #undef EILSEQ */
|
|
/* Define to 1 to enable a few rarely used encodings. */
|
/* #undef ENABLE_EXTRA */
|
|
/* Define to 1 if translation of program messages to the user's native
|
language is requested. */
|
#define ENABLE_NLS 1
|
|
/* Define to 1 if the package shall run at any location in the file system. */
|
/* #undef ENABLE_RELOCATABLE */
|
|
/* Define to 1 if realpath() can malloc memory, always gives an absolute path,
|
and handles trailing slash correctly. */
|
#define FUNC_REALPATH_WORKS 1
|
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
whether the gnulib module canonicalize-lgpl shall be considered present. */
|
#define GNULIB_CANONICALIZE_LGPL 1
|
|
/* 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__" */
|
/* #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU */
|
|
/* 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 sigpipe shall be considered present. */
|
#define GNULIB_SIGPIPE 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 canonicalize_file_name should be tested.
|
*/
|
#define GNULIB_TEST_CANONICALIZE_FILE_NAME 1
|
|
/* Define to 1 when the gnulib module environ should be tested. */
|
#define GNULIB_TEST_ENVIRON 1
|
|
/* Define to 1 when the gnulib module lstat should be tested. */
|
#define GNULIB_TEST_LSTAT 1
|
|
/* Define to 1 when the gnulib module malloc-posix should be tested. */
|
#define GNULIB_TEST_MALLOC_POSIX 1
|
|
/* Define to 1 when the gnulib module raise should be tested. */
|
#define GNULIB_TEST_RAISE 1
|
|
/* Define to 1 when the gnulib module read should be tested. */
|
#define GNULIB_TEST_READ 1
|
|
/* Define to 1 when the gnulib module readlink should be tested. */
|
#define GNULIB_TEST_READLINK 1
|
|
/* Define to 1 when the gnulib module realpath should be tested. */
|
#define GNULIB_TEST_REALPATH 1
|
|
/* Define to 1 when the gnulib module sigprocmask should be tested. */
|
#define GNULIB_TEST_SIGPROCMASK 1
|
|
/* Define to 1 when the gnulib module stat should be tested. */
|
#define GNULIB_TEST_STAT 1
|
|
/* Define to 1 when the gnulib module strerror should be tested. */
|
#define GNULIB_TEST_STRERROR 1
|
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
#define HAVE_ALLOCA 1
|
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
*/
|
#define HAVE_ALLOCA_H 1
|
|
/* Define to 1 if you have the `canonicalize_file_name' function. */
|
#define HAVE_CANONICALIZE_FILE_NAME 1
|
|
/* 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
|
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 `copy_file_range' function. */
|
/* #undef HAVE_COPY_FILE_RANGE */
|
|
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
*/
|
#define HAVE_DCGETTEXT 1
|
|
/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
|
you don't. */
|
#define HAVE_DECL_CLEARERR_UNLOCKED 1
|
|
/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
|
don't. */
|
#define HAVE_DECL_FEOF_UNLOCKED 1
|
|
/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
|
you don't. */
|
#define HAVE_DECL_FERROR_UNLOCKED 1
|
|
/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
|
you don't. */
|
#define HAVE_DECL_FFLUSH_UNLOCKED 1
|
|
/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
|
you don't. */
|
#define HAVE_DECL_FGETS_UNLOCKED 1
|
|
/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
|
you don't. */
|
#define HAVE_DECL_FPUTC_UNLOCKED 1
|
|
/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
|
you don't. */
|
#define HAVE_DECL_FPUTS_UNLOCKED 1
|
|
/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
|
you don't. */
|
#define HAVE_DECL_FREAD_UNLOCKED 1
|
|
/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
|
you don't. */
|
#define HAVE_DECL_FWRITE_UNLOCKED 1
|
|
/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
|
you don't. */
|
#define HAVE_DECL_GETCHAR_UNLOCKED 1
|
|
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
don't. */
|
#define HAVE_DECL_GETC_UNLOCKED 1
|
|
/* 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 1
|
|
/* 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 1
|
|
/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
|
you don't. */
|
#define HAVE_DECL_PUTCHAR_UNLOCKED 1
|
|
/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
|
don't. */
|
#define HAVE_DECL_PUTC_UNLOCKED 1
|
|
/* Define to 1 if you have the declaration of `setenv', and to 0 if you don't.
|
*/
|
#define HAVE_DECL_SETENV 1
|
|
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
don't. */
|
#define HAVE_DECL_STRERROR_R 1
|
|
/* Define to 1 if you have the declaration of `__argv', and to 0 if you don't.
|
*/
|
#define HAVE_DECL___ARGV 0
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
#define HAVE_DLFCN_H 1
|
|
/* Define if you have the declaration of environ. */
|
#define HAVE_ENVIRON_DECL 1
|
|
/* Define to 1 if you have the `getcwd' function. */
|
#define HAVE_GETCWD 1
|
|
/* Define to 1 if you have the `getc_unlocked' function. */
|
#define HAVE_GETC_UNLOCKED 1
|
|
/* 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 <inttypes.h> header file. */
|
#define HAVE_INTTYPES_H 1
|
|
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
//#define HAVE_LANGINFO_CODESET 1
|
|
/* 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 to 1 if you have the `lstat' function. */
|
#define HAVE_LSTAT 1
|
|
/* Define to 1 if you have the <mach-o/dyld.h> header file. */
|
/* #undef HAVE_MACH_O_DYLD_H */
|
|
/* Define if the 'malloc' function is POSIX compliant. */
|
#define HAVE_MALLOC_POSIX 1
|
|
/* Define to 1 if you have the `mbrtowc' function. */
|
#define HAVE_MBRTOWC 1
|
|
/* Define to 1 if you have the `mbsinit' function. */
|
#define HAVE_MBSINIT 1
|
|
/* Define to 1 if <wchar.h> declares mbstate_t. */
|
#define HAVE_MBSTATE_T 1
|
|
/* Define to 1 if you have the `memmove' function. */
|
#define HAVE_MEMMOVE 1
|
|
/* 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. */
|
/* #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER */
|
|
/* Define to 1 if you have the `raise' function. */
|
#define HAVE_RAISE 1
|
|
/* Define to 1 if you have the `readlink' function. */
|
#define HAVE_READLINK 1
|
|
/* Define to 1 if you have the `readlinkat' function. */
|
#define HAVE_READLINKAT 1
|
|
/* Define to 1 if you have the `realpath' function. */
|
#define HAVE_REALPATH 1
|
|
/* Define to 1 if you have the <search.h> header file. */
|
#define HAVE_SEARCH_H 1
|
|
/* Define to 1 if you have the `setenv' function. */
|
#define HAVE_SETENV 1
|
|
/* Define to 1 if you have the `setlocale' function. */
|
#define HAVE_SETLOCALE 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 the system has the type `sigset_t'. */
|
#define HAVE_SIGSET_T 1
|
|
/* 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 `strerror_r' function. */
|
#define HAVE_STRERROR_R 1
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
#define HAVE_STRINGS_H 1
|
|
/* Define to 1 if you have the <string.h> header file. */
|
#define HAVE_STRING_H 1
|
|
/* 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'. */
|
#define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
|
|
/* 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. */
|
#define HAVE_SYMLINK 1
|
|
/* 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/param.h> header file. */
|
#define HAVE_SYS_PARAM_H 1
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
#define HAVE_SYS_SOCKET_H 1
|
|
/* 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/time.h> header file. */
|
#define HAVE_SYS_TIME_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 `tsearch' function. */
|
#define HAVE_TSEARCH 1
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
#define HAVE_UNISTD_H 1
|
|
/* 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. */
|
#define HAVE_VISIBILITY 1
|
|
/* 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 `wcrtomb' function. */
|
#define HAVE_WCRTOMB 1
|
|
/* Define to 1 if you have the <winsock2.h> header file. */
|
/* #undef HAVE_WINSOCK2_H */
|
|
/* 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 1
|
|
/* Define to 1 if O_NOFOLLOW works. */
|
#define HAVE_WORKING_O_NOFOLLOW 1
|
|
/* Define to 1 if the system has the type `_Bool'. */
|
#define HAVE__BOOL 1
|
|
/* Define to 1 if you have the `_NSGetExecutablePath' function. */
|
/* #undef HAVE__NSGETEXECUTABLEPATH */
|
|
/* Define to 1 if you have the `_set_invalid_parameter_handler' function. */
|
/* #undef HAVE__SET_INVALID_PARAMETER_HANDLER */
|
|
/* Define as const if the declaration of iconv() needs const. */
|
#define ICONV_CONST
|
|
/* Define to the value of ${prefix}, as a string. */
|
#define INSTALLPREFIX "/usr/local"
|
|
/* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
|
slash. */
|
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
|
|
/* 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 "libiconv"
|
|
/* Define to the address where bug reports for this package should be sent. */
|
#define PACKAGE_BUGREPORT ""
|
|
/* Define to the full name of this package. */
|
#define PACKAGE_NAME "libiconv"
|
|
/* Define to the full name and version of this package. */
|
#define PACKAGE_STRING "libiconv 1.16"
|
|
/* Define to the one symbol short name of this package. */
|
#define PACKAGE_TARNAME "libiconv"
|
|
/* Define to the home page for this package. */
|
#define PACKAGE_URL ""
|
|
/* Define to the version of this package. */
|
#define PACKAGE_VERSION "1.16"
|
|
/* 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 stat needs help when passed a file name with a trailing
|
slash */
|
/* #undef REPLACE_FUNC_STAT_FILE */
|
|
/* 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 *. */
|
#define STRERROR_R_CHAR_P 1
|
|
/* Define to 1 if the type of the st_atim member of a struct stat is struct
|
timespec. */
|
#define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1
|
|
/* Define to the prefix of C symbols at the assembler and linker level, either
|
an underscore or empty. */
|
#define USER_LABEL_PREFIX
|
|
/* 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 GNU extensions on systems that have them. */
|
#ifndef _GNU_SOURCE
|
# define _GNU_SOURCE 1
|
#endif
|
/* Enable NetBSD extensions on NetBSD. */
|
#ifndef _NETBSD_SOURCE
|
# define _NETBSD_SOURCE 1
|
#endif
|
/* Enable OpenBSD extensions on NetBSD. */
|
#ifndef _OPENBSD_SOURCE
|
# define _OPENBSD_SOURCE 1
|
#endif
|
/* Enable threading extensions 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 if necessary. HP-UX 11.11 defines
|
mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of
|
whether compiling with -Ae or -D_HPUX_SOURCE=1. */
|
#ifndef _XOPEN_SOURCE
|
/* # undef _XOPEN_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
|
# define _HPUX_ALT_XOPEN_SOCKET_API 1
|
#endif
|
/* Enable general extensions on Solaris. */
|
#ifndef __EXTENSIONS__
|
# define __EXTENSIONS__ 1
|
#endif
|
|
|
/* Define to 1 if you want getc etc. to use unlocked I/O if available.
|
Unlocked I/O can improve performance in unithreaded apps, but it is not
|
safe for multithreaded apps. */
|
#define USE_UNLOCKED_IO 1
|
|
/* Version number of package */
|
#define VERSION "1.16"
|
|
/* 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 */
|
|
/* Define if the machine's byte ordering is little endian. */
|
#define WORDS_LITTLEENDIAN 1
|
|
/* Enable large inode numbers on Mac OS X 10.5. */
|
#define _DARWIN_USE_64_BIT_INODE 1
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
/* #undef _FILE_OFFSET_BITS */
|
|
/* Define for large files, on AIX-style hosts. */
|
/* #undef _LARGE_FILES */
|
|
/* Define to 1 if on MINIX. */
|
/* #undef _MINIX */
|
|
/* Define to 1 to make NetBSD features available. MINIX 3 needs this. */
|
#define _NETBSD_SOURCE 1
|
|
/* The _Noreturn keyword of C11. */
|
#ifndef _Noreturn
|
# if (defined __cplusplus \
|
&& ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
|
|| (defined _MSC_VER && 1900 <= _MSC_VER)))
|
# define _Noreturn [[noreturn]]
|
# elif ((!defined __cplusplus || defined __clang__) \
|
&& (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
|
|| 4 < __GNUC__ + (7 <= __GNUC_MINOR__)))
|
/* _Noreturn works as-is. */
|
# elif 2 < __GNUC__ + (8 <= __GNUC_MINOR__) || 0x5110 <= __SUNPRO_C
|
# define _Noreturn __attribute__ ((__noreturn__))
|
# elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
|
# define _Noreturn __declspec (noreturn)
|
# else
|
# define _Noreturn
|
# endif
|
#endif
|
|
|
/* Define to 2 if the system does not provide POSIX.1 features except with
|
this defined. */
|
/* #undef _POSIX_1_SOURCE */
|
|
/* Define to 1 if you need to in order for 'stat' and other things to work. */
|
/* #undef _POSIX_SOURCE */
|
|
/* For standard stat data types on VMS. */
|
#define _USE_STD_STAT 1
|
|
/* 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
|
<http://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
|
|
|
/* 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/bleeding-edge-potential/latest-per-pkg/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
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
/* #undef gid_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 */
|
|
/* 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 `int' if <sys/types.h> does not define. */
|
/* #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 directly. */
|
#define restrict __restrict
|
/* Work around a bug in Sun C++: it does not support _Restrict or
|
__restrict__, even though the corresponding Sun C compiler ends up with
|
"#define restrict _Restrict" or "#define restrict __restrict__" in the
|
previous line. Perhaps some future version of Sun C++ will work with
|
restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
|
#if defined __SUNPRO_CC && !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. */
|
/* #undef ssize_t */
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
/* #undef uid_t */
|
|
/* Define as a marker that can be attached to declarations that might not
|
be used. This helps to reduce warnings, such as from
|
GCC -Wunused-parameter. */
|
#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
|
# define _GL_UNUSED __attribute__ ((__unused__))
|
#else
|
# define _GL_UNUSED
|
#endif
|
/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
|
is a misnomer outside of parameter lists. */
|
#define _UNUSED_PARAMETER_ _GL_UNUSED
|
|
/* gcc supports the "unused" attribute on possibly unused labels, and
|
g++ has since version 4.5. Note to support C++ as well as C,
|
_GL_UNUSED_LABEL should be used with a trailing ; */
|
#if !defined __cplusplus || __GNUC__ > 4 \
|
|| (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
|
# define _GL_UNUSED_LABEL _GL_UNUSED
|
#else
|
# define _GL_UNUSED_LABEL
|
#endif
|
|
/* The __pure__ attribute was added in gcc 2.96. */
|
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
|
# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
|
#else
|
# define _GL_ATTRIBUTE_PURE /* empty */
|
#endif
|
|
/* The __const__ attribute was added in gcc 2.95. */
|
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
|
# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
|
#else
|
# define _GL_ATTRIBUTE_CONST /* empty */
|
#endif
|
|
/* The __malloc__ attribute was added in gcc 3. */
|
#if 3 <= __GNUC__
|
# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
|
#else
|
# define _GL_ATTRIBUTE_MALLOC /* empty */
|
#endif
|
|
|
|
/* On Windows, variables that may be in a DLL must be marked specially. */
|
#if defined _MSC_VER && defined _DLL
|
# define DLL_VARIABLE __declspec (dllimport)
|
#else
|
# define DLL_VARIABLE
|
#endif
|