| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
#include <config.h> |
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
#include <errno.h> |
| 43 |
|
| 44 |
|
| 45 |
#ifndef __set_errno |
| 46 |
# define __set_errno(val) (errno = (val)) |
| 47 |
#endif |
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
#ifndef __GNUC_PREREQ |
| 52 |
# if defined __GNUC__ && defined __GNUC_MINOR__ |
| 53 |
# define __GNUC_PREREQ(maj, min) ((maj) < __GNUC__ + ((min) <= __GNUC_MINOR__)) |
| 54 |
# else |
| 55 |
# define __GNUC_PREREQ(maj, min) 0 |
| 56 |
# endif |
| 57 |
#endif |
| 58 |
|
| 59 |
#ifndef __glibc_clang_prereq |
| 60 |
# if defined __clang_major__ && defined __clang_minor__ |
| 61 |
# ifdef __apple_build_version__ |
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
# define __glibc_clang_prereq(maj, min) \ |
| 67 |
((maj) == 3 && (min) == 5 ? 6000000 <= __apple_build_version__ : 0) |
| 68 |
# else |
| 69 |
# define __glibc_clang_prereq(maj, min) \ |
| 70 |
((maj) < __clang_major__ + ((min) <= __clang_minor__)) |
| 71 |
# endif |
| 72 |
# else |
| 73 |
# define __glibc_clang_prereq(maj, min) 0 |
| 74 |
# endif |
| 75 |
#endif |
| 76 |
|
| 77 |
#ifndef __attribute_nonnull__ |
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
# ifndef _FEATURES_H |
| 84 |
# define _FEATURES_H 1 |
| 85 |
# endif |
| 86 |
|
| 87 |
|
| 88 |
# define __GNULIB_CDEFS |
| 89 |
|
| 90 |
|
| 91 |
|
| 92 |
# undef _SYS_CDEFS_H |
| 93 |
# undef __ASMNAME |
| 94 |
# undef __ASMNAME2 |
| 95 |
# undef __BEGIN_DECLS |
| 96 |
# undef __CONCAT |
| 97 |
# undef __END_DECLS |
| 98 |
# undef __HAVE_GENERIC_SELECTION |
| 99 |
# undef __LDBL_COMPAT |
| 100 |
# undef __LDBL_REDIR |
| 101 |
# undef __LDBL_REDIR1 |
| 102 |
# undef __LDBL_REDIR1_DECL |
| 103 |
# undef __LDBL_REDIR1_NTH |
| 104 |
# undef __LDBL_REDIR2_DECL |
| 105 |
# undef __LDBL_REDIR_DECL |
| 106 |
# undef __LDBL_REDIR_NTH |
| 107 |
# undef __LEAF |
| 108 |
# undef __LEAF_ATTR |
| 109 |
# undef __NTH |
| 110 |
# undef __NTHNL |
| 111 |
# undef __REDIRECT |
| 112 |
# undef __REDIRECT_LDBL |
| 113 |
# undef __REDIRECT_NTH |
| 114 |
# undef __REDIRECT_NTHNL |
| 115 |
# undef __REDIRECT_NTH_LDBL |
| 116 |
# undef __STRING |
| 117 |
# undef __THROW |
| 118 |
# undef __THROWNL |
| 119 |
# undef __attr_access |
| 120 |
# undef __attr_access_none |
| 121 |
# undef __attr_dealloc |
| 122 |
# undef __attr_dealloc_free |
| 123 |
# undef __attribute__ |
| 124 |
# undef __attribute_alloc_align__ |
| 125 |
# undef __attribute_alloc_size__ |
| 126 |
# undef __attribute_artificial__ |
| 127 |
# undef __attribute_const__ |
| 128 |
# undef __attribute_deprecated__ |
| 129 |
# undef __attribute_deprecated_msg__ |
| 130 |
# undef __attribute_format_arg__ |
| 131 |
# undef __attribute_format_strfmon__ |
| 132 |
# undef __attribute_malloc__ |
| 133 |
# undef __attribute_maybe_unused__ |
| 134 |
# undef __attribute_noinline__ |
| 135 |
# undef __attribute_nonstring__ |
| 136 |
# undef __attribute_pure__ |
| 137 |
# undef __attribute_returns_twice__ |
| 138 |
# undef __attribute_used__ |
| 139 |
# undef __attribute_warn_unused_result__ |
| 140 |
# undef __bos |
| 141 |
# undef __bos0 |
| 142 |
# undef __errordecl |
| 143 |
# undef __extension__ |
| 144 |
# undef __extern_always_inline |
| 145 |
# undef __extern_inline |
| 146 |
# undef __flexarr |
| 147 |
# undef __fortified_attr_access |
| 148 |
# undef __fortify_function |
| 149 |
# undef __glibc_c99_flexarr_available |
| 150 |
# undef __glibc_fortify |
| 151 |
# undef __glibc_fortify_n |
| 152 |
# undef __glibc_has_attribute |
| 153 |
# undef __glibc_has_builtin |
| 154 |
# undef __glibc_has_extension |
| 155 |
# undef __glibc_likely |
| 156 |
# undef __glibc_macro_warning |
| 157 |
# undef __glibc_macro_warning1 |
| 158 |
# undef __glibc_objsize |
| 159 |
# undef __glibc_objsize0 |
| 160 |
# undef __glibc_safe_len_cond |
| 161 |
# undef __glibc_safe_or_unknown_len |
| 162 |
# undef __glibc_unlikely |
| 163 |
# undef __glibc_unsafe_len |
| 164 |
# undef __glibc_unsigned_or_positive |
| 165 |
# undef __inline |
| 166 |
# undef __ptr_t |
| 167 |
# undef __restrict |
| 168 |
# undef __restrict_arr |
| 169 |
# undef __va_arg_pack |
| 170 |
# undef __va_arg_pack_len |
| 171 |
# undef __warnattr |
| 172 |
# undef __wur |
| 173 |
|
| 174 |
|
| 175 |
# include <cdefs.h> |
| 176 |
|
| 177 |
|
| 178 |
# undef __inline |
| 179 |
# ifndef HAVE___INLINE |
| 180 |
# if 199901 <= __STDC_VERSION__ || defined inline |
| 181 |
# define __inline inline |
| 182 |
# else |
| 183 |
# define __inline |
| 184 |
# endif |
| 185 |
# endif |
| 186 |
|
| 187 |
#endif |
| 188 |
|
| 189 |
|
| 190 |
|
| 191 |
#define attribute_hidden |
| 192 |
#define libc_hidden_proto(name) |
| 193 |
#define libc_hidden_def(name) |
| 194 |
#define libc_hidden_weak(name) |
| 195 |
#define libc_hidden_ver(local, name) |
| 196 |
#define strong_alias(name, aliasname) |
| 197 |
#define weak_alias(name, aliasname) |
| 198 |
|
| 199 |
|
| 200 |
#define SHLIB_COMPAT(lib, introduced, obsoleted) 0 |
| 201 |
#define compat_symbol(lib, local, symbol, version) extern int dummy |
| 202 |
#define versioned_symbol(lib, local, symbol, version) extern int dummy |