mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-18 18:41:46 -04:00
644 lines
21 KiB
C
644 lines
21 KiB
C
/* This file is automatically generated. DO NOT EDIT! */
|
|
/* Generated from: NetBSD: mknative-gdb,v 1.5 2011/11/06 19:46:12 christos Exp */
|
|
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
|
|
|
|
/* config.h. Generated from config.in by configure. */
|
|
/* config.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 when the gnulib module mbrtowc should be tested. */
|
|
#define GNULIB_TEST_MBRTOWC 1
|
|
|
|
/* Define to 1 when the gnulib module mbsinit should be tested. */
|
|
#define GNULIB_TEST_MBSINIT 1
|
|
|
|
/* Define to 1 when the gnulib module mbsrtowcs should be tested. */
|
|
#define GNULIB_TEST_MBSRTOWCS 1
|
|
|
|
/* Define to 1 when the gnulib module memchr should be tested. */
|
|
#define GNULIB_TEST_MEMCHR 1
|
|
|
|
/* Define to 1 when the gnulib module memmem should be tested. */
|
|
#define GNULIB_TEST_MEMMEM 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 <bp-sym.h> header file. */
|
|
/* #undef HAVE_BP_SYM_H */
|
|
|
|
/* Define to 1 if you have the 'btowc' function. */
|
|
#define HAVE_BTOWC 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 `isblank', and to 0 if you
|
|
don't. */
|
|
#define HAVE_DECL_ISBLANK 1
|
|
|
|
/* 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 `mbsrtowcs', and to 0 if you
|
|
don't. */
|
|
/* #undef HAVE_DECL_MBSRTOWCS */
|
|
|
|
/* Define to 1 if you have the declaration of `memmem', and to 0 if you don't.
|
|
*/
|
|
#define HAVE_DECL_MEMMEM 1
|
|
|
|
/* 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 <features.h> header file. */
|
|
/* #undef HAVE_FEATURES_H */
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#define HAVE_INTTYPES_H 1
|
|
|
|
/* Define to 1 if you have the 'isblank' function. */
|
|
#define HAVE_ISBLANK 1
|
|
|
|
/* Define to 1 if you have the 'iswcntrl' function. */
|
|
#define HAVE_ISWCNTRL 1
|
|
|
|
/* Define to 1 if you have the 'iswctype' function. */
|
|
#define HAVE_ISWCTYPE 1
|
|
|
|
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
|
#define HAVE_LANGINFO_CODESET 1
|
|
|
|
/* Define to 1 if the system has the type 'long long int'. */
|
|
#define HAVE_LONG_LONG_INT 1
|
|
|
|
/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
|
|
config.h and <sys/mman.h>. */
|
|
#define HAVE_MAP_ANONYMOUS 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 you have the 'mbsrtowcs' function. */
|
|
#define HAVE_MBSRTOWCS 1
|
|
|
|
/* Define to 1 if <wchar.h> declares mbstate_t. */
|
|
#define HAVE_MBSTATE_T 1
|
|
|
|
/* Define to 1 if you have the `memmem' function. */
|
|
#define HAVE_MEMMEM 1
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#define HAVE_MEMORY_H 1
|
|
|
|
/* Define to 1 if you have the 'mempcpy' function. */
|
|
/* #undef HAVE_MEMPCPY */
|
|
|
|
/* Define to 1 if you have the 'mprotect' function. */
|
|
#define HAVE_MPROTECT 1
|
|
|
|
/* Define to 1 if btowc is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_BTOWC 1
|
|
|
|
/* 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 imaxabs is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_IMAXABS 1
|
|
|
|
/* Define to 1 if imaxdiv is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_IMAXDIV 1
|
|
|
|
/* Define to 1 if iswctype is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_ISWCTYPE 1
|
|
|
|
/* Define to 1 if mbrlen is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_MBRLEN 1
|
|
|
|
/* Define to 1 if mbrtowc is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_MBRTOWC 1
|
|
|
|
/* Define to 1 if mbsinit is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_MBSINIT 1
|
|
|
|
/* Define to 1 if mbsnrtowcs is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_MBSNRTOWCS 1
|
|
|
|
/* Define to 1 if mbsrtowcs is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_MBSRTOWCS 1
|
|
|
|
/* Define to 1 if memmem is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_MEMMEM 1
|
|
|
|
/* 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. */
|
|
#define HAVE_RAW_DECL_MEMRCHR 1
|
|
|
|
/* Define to 1 if rawmemchr is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_RAWMEMCHR */
|
|
|
|
/* Define to 1 if stpcpy is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_STPCPY 1
|
|
|
|
/* Define to 1 if stpncpy is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_STPNCPY 1
|
|
|
|
/* Define to 1 if strcasestr is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_STRCASESTR 1
|
|
|
|
/* 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. */
|
|
#define HAVE_RAW_DECL_STRERROR_R 1
|
|
|
|
/* 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. */
|
|
#define HAVE_RAW_DECL_STRNDUP 1
|
|
|
|
/* 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. */
|
|
#define HAVE_RAW_DECL_STRPBRK 1
|
|
|
|
/* Define to 1 if strsep is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_STRSEP 1
|
|
|
|
/* Define to 1 if strsignal is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_STRSIGNAL 1
|
|
|
|
/* Define to 1 if strtoimax is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_STRTOIMAX 1
|
|
|
|
/* Define to 1 if strtok_r is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_STRTOK_R 1
|
|
|
|
/* Define to 1 if strtoumax is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_STRTOUMAX 1
|
|
|
|
/* Define to 1 if strverscmp is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_STRVERSCMP */
|
|
|
|
/* Define to 1 if towctrans is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_TOWCTRANS 1
|
|
|
|
/* Define to 1 if wcpcpy is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_WCPCPY */
|
|
|
|
/* Define to 1 if wcpncpy is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_WCPNCPY */
|
|
|
|
/* Define to 1 if wcrtomb is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCRTOMB 1
|
|
|
|
/* Define to 1 if wcscasecmp is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSCASECMP 1
|
|
|
|
/* Define to 1 if wcscat is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSCAT 1
|
|
|
|
/* Define to 1 if wcschr is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSCHR 1
|
|
|
|
/* Define to 1 if wcscmp is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSCMP 1
|
|
|
|
/* Define to 1 if wcscoll is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSCOLL 1
|
|
|
|
/* Define to 1 if wcscpy is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSCPY 1
|
|
|
|
/* Define to 1 if wcscspn is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSCSPN 1
|
|
|
|
/* Define to 1 if wcsdup is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSDUP 1
|
|
|
|
/* Define to 1 if wcslen is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSLEN 1
|
|
|
|
/* Define to 1 if wcsncasecmp is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSNCASECMP 1
|
|
|
|
/* Define to 1 if wcsncat is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSNCAT 1
|
|
|
|
/* Define to 1 if wcsncmp is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSNCMP 1
|
|
|
|
/* Define to 1 if wcsncpy is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSNCPY 1
|
|
|
|
/* Define to 1 if wcsnlen is declared even after undefining macros. */
|
|
/* #undef HAVE_RAW_DECL_WCSNLEN */
|
|
|
|
/* Define to 1 if wcsnrtombs is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSNRTOMBS 1
|
|
|
|
/* Define to 1 if wcspbrk is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSPBRK 1
|
|
|
|
/* Define to 1 if wcsrchr is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSRCHR 1
|
|
|
|
/* Define to 1 if wcsrtombs is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSRTOMBS 1
|
|
|
|
/* Define to 1 if wcsspn is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSSPN 1
|
|
|
|
/* Define to 1 if wcsstr is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSSTR 1
|
|
|
|
/* Define to 1 if wcstok is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSTOK 1
|
|
|
|
/* Define to 1 if wcswidth is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSWIDTH 1
|
|
|
|
/* Define to 1 if wcsxfrm is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCSXFRM 1
|
|
|
|
/* Define to 1 if wctob is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCTOB 1
|
|
|
|
/* Define to 1 if wctrans is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCTRANS 1
|
|
|
|
/* Define to 1 if wctype is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCTYPE 1
|
|
|
|
/* Define to 1 if wcwidth is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WCWIDTH 1
|
|
|
|
/* Define to 1 if wmemchr is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WMEMCHR 1
|
|
|
|
/* Define to 1 if wmemcmp is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WMEMCMP 1
|
|
|
|
/* Define to 1 if wmemcpy is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WMEMCPY 1
|
|
|
|
/* Define to 1 if wmemmove is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WMEMMOVE 1
|
|
|
|
/* Define to 1 if wmemset is declared even after undefining macros. */
|
|
#define HAVE_RAW_DECL_WMEMSET 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 <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 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/mman.h> header file. */
|
|
#define HAVE_SYS_MMAN_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/types.h> header file. */
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
/* Define to 1 if you have the `towlower' function. */
|
|
#define HAVE_TOWLOWER 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 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 <wctype.h> header file. */
|
|
#define HAVE_WCTYPE_H 1
|
|
|
|
/* Define if you have the 'wint_t' type. */
|
|
#define HAVE_WINT_T 1
|
|
|
|
/* Define to 1 if you have the 'wmemchr' function. */
|
|
#define HAVE_WMEMCHR 1
|
|
|
|
/* Define to 1 if you have the 'wmemcpy' function. */
|
|
#define HAVE_WMEMCPY 1
|
|
|
|
/* Define to 1 if you have the 'wmempcpy' function. */
|
|
/* #undef HAVE_WMEMPCPY */
|
|
|
|
/* 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 a substitute value for mmap()'s MAP_ANONYMOUS flag. */
|
|
#define MAP_ANONYMOUS MAP_ANON
|
|
|
|
/* Define if the mbrtowc function has the NULL pwc argument bug. */
|
|
/* #undef MBRTOWC_NULL_ARG1_BUG */
|
|
|
|
/* Define if the mbrtowc function has the NULL string argument bug. */
|
|
/* #undef MBRTOWC_NULL_ARG2_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 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 ""
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#define PACKAGE_STRING ""
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#define PACKAGE_TARNAME ""
|
|
|
|
/* Define to the home page for this package. */
|
|
#define PACKAGE_URL ""
|
|
|
|
/* Define to the version of this package. */
|
|
#define PACKAGE_VERSION ""
|
|
|
|
/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
|
|
/* #undef PRI_MACROS_BROKEN */
|
|
|
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
|
'ptrdiff_t'. */
|
|
/* #undef PTRDIFF_T_SUFFIX */
|
|
|
|
/* 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 you have the ANSI C header files. */
|
|
#define STDC_HEADERS 1
|
|
|
|
/* 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 to 1 if on MINIX. */
|
|
/* #undef _MINIX */
|
|
|
|
/* The _Noreturn keyword of C11. */
|
|
#if ! (defined _Noreturn \
|
|
|| (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__))
|
|
# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
|
|
|| 0x5110 <= __SUNPRO_C)
|
|
# define _Noreturn __attribute__ ((__noreturn__))
|
|
# elif defined _MSC_VER && 1200 <= _MSC_VER
|
|
# 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 */
|
|
|
|
/* Define to 500 only on HP-UX. */
|
|
/* #undef _XOPEN_SOURCE */
|
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
|
#ifndef _ALL_SOURCE
|
|
# define _ALL_SOURCE 1
|
|
#endif
|
|
/* Enable general extensions on Mac OS X. */
|
|
#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 threading extensions on Solaris. */
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
# define _POSIX_PTHREAD_SEMANTICS 1
|
|
#endif
|
|
/* Enable extensions on HP NonStop. */
|
|
#ifndef _TANDEM_SOURCE
|
|
# define _TANDEM_SOURCE 1
|
|
#endif
|
|
/* Enable general extensions on Solaris. */
|
|
#ifndef __EXTENSIONS__
|
|
# define __EXTENSIONS__ 1
|
|
#endif
|
|
|
|
|
|
/* _GL_INLINE is a portable alternative to ISO C99 plain 'inline'.
|
|
_GL_EXTERN_INLINE is a portable alternative to 'extern inline'.
|
|
_GL_INLINE_HEADER_BEGIN contains useful stuff to put
|
|
in an include file, before uses of _GL_INLINE.
|
|
It suppresses GCC's bogus "no previous prototype for 'FOO'" diagnostic,
|
|
when FOO is an inline function in the header; see
|
|
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113>.
|
|
_GL_INLINE_HEADER_END contains useful stuff to put
|
|
in the same include file, after uses of _GL_INLINE.
|
|
|
|
Suppress the use of extern inline on Apple's platforms,
|
|
as Libc-825.25 (2012-09-19) is incompatible with it; see
|
|
<http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00023.html>.
|
|
Perhaps Apple will fix this some day. */
|
|
#if ((__GNUC__ \
|
|
? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
|
|
: 199901L <= __STDC_VERSION__) \
|
|
&& !defined __APPLE__)
|
|
# define _GL_INLINE inline
|
|
# define _GL_EXTERN_INLINE extern inline
|
|
#elif 2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __APPLE__
|
|
# if __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
|
|
#else
|
|
# define _GL_INLINE static _GL_UNUSED
|
|
# define _GL_EXTERN_INLINE static _GL_UNUSED
|
|
#endif
|
|
|
|
#if 4 < __GNUC__ + (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 a replacement function name for fnmatch(). */
|
|
#define fnmatch gnu_fnmatch
|
|
|
|
/* 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 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 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
|
|
|
|
/* 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
|
|
|