|
37 | 37 | #define AF_INET6 __WASI_ADDRESS_FAMILY_INET6 |
38 | 38 | #define AF_UNIX __WASI_ADDRESS_FAMILY_UNIX |
39 | 39 | #define AF_UNSPEC __WASI_ADDRESS_FAMILY_UNSPEC |
40 | | -#define AIO_ALLDONE 2 |
41 | | -#define AIO_CANCELED 0 |
42 | | -#define AIO_NOTCANCELED 1 |
43 | 40 | #define AI_ADDRCONFIG 0x20 |
44 | 41 | #define AI_ALL 0x10 |
45 | 42 | #define AI_CANONNAME 0x02 |
|
165 | 162 | #define BS1 0020000 |
166 | 163 | #define BSDLY 0020000 |
167 | 164 | #define BUFSIZ 1024 |
168 | | -#define BUS_ADRALN 1 |
169 | | -#define BUS_ADRERR 2 |
170 | | -#define BUS_MCEERR_AO 5 |
171 | | -#define BUS_MCEERR_AR 4 |
172 | | -#define BUS_OBJERR 3 |
173 | 165 | #define BYTE_ORDER __BYTE_ORDER |
174 | 166 | #define CANBSIZ 255 |
175 | 167 | #define CBAUD 0010017 |
|
191 | 183 | #define CIBAUD 002003600000 |
192 | 184 | #define CINTR CTRL('c') |
193 | 185 | #define CKILL CTRL('u') |
194 | | -#define CLD_CONTINUED 6 |
195 | | -#define CLD_DUMPED 3 |
196 | | -#define CLD_EXITED 1 |
197 | | -#define CLD_KILLED 2 |
198 | | -#define CLD_STOPPED 5 |
199 | | -#define CLD_TRAPPED 4 |
200 | 186 | #define CLNEXT CTRL('v') |
201 | 187 | #define CLOCAL 0004000 |
202 | 188 | #define CLOCKS_PER_SEC ((clock_t)1000000000) |
|
236 | 222 | #define CMSPAR 010000000000 |
237 | 223 | #define CODESET 14 |
238 | 224 | #define COLL_WEIGHTS_MAX 2 |
239 | | -#define COMMON_CLOCK_H |
| 225 | +#define COMMON_CLOCK_H |
240 | 226 | #define COMPLETE 2 |
241 | 227 | #define CONTINUE 3 |
242 | 228 | #define CONTTYPE '7' |
|
1131 | 1117 | #define FORM_C 3 |
1132 | 1118 | #define FORM_N 1 |
1133 | 1119 | #define FORM_T 2 |
1134 | | -#define FPE_FLTDIV 3 |
1135 | | -#define FPE_FLTINV 7 |
1136 | | -#define FPE_FLTOVF 4 |
1137 | | -#define FPE_FLTRES 6 |
1138 | | -#define FPE_FLTSUB 8 |
1139 | | -#define FPE_FLTUND 5 |
1140 | | -#define FPE_INTDIV 1 |
1141 | | -#define FPE_INTOVF 2 |
1142 | 1120 | #define FP_ILOGB0 FP_ILOGBNAN |
1143 | 1121 | #define FP_ILOGBNAN (-1-0x7fffffff) |
1144 | 1122 | #define FP_INFINITE 1 |
|
1352 | 1330 | #define IGNBRK 0000001 |
1353 | 1331 | #define IGNCR 0000200 |
1354 | 1332 | #define IGNPAR 0000004 |
1355 | | -#define ILL_BADSTK 8 |
1356 | | -#define ILL_COPROC 7 |
1357 | | -#define ILL_ILLADR 3 |
1358 | | -#define ILL_ILLOPC 1 |
1359 | | -#define ILL_ILLOPN 2 |
1360 | | -#define ILL_ILLTRP 4 |
1361 | | -#define ILL_PRVOPC 5 |
1362 | | -#define ILL_PRVREG 6 |
1363 | 1333 | #define IMAXBEL 0020000 |
1364 | 1334 | #define IN6ADDRSZ NS_IN6ADDRSZ |
1365 | 1335 | #define IN6ADDR_ANY_INIT { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } |
|
1773 | 1743 | #define LFLOW_ON 1 |
1774 | 1744 | #define LFLOW_RESTART_ANY 2 |
1775 | 1745 | #define LFLOW_RESTART_XON 3 |
1776 | | -#define LIO_NOP 2 |
1777 | | -#define LIO_NOWAIT 1 |
1778 | | -#define LIO_READ 0 |
1779 | | -#define LIO_WAIT 0 |
1780 | | -#define LIO_WRITE 1 |
1781 | 1746 | #define LITTLE_ENDIAN __LITTLE_ENDIAN |
1782 | 1747 | #define LITUSE_ALPHA_ADDR 0 |
1783 | 1748 | #define LITUSE_ALPHA_BASE 1 |
|
2099 | 2064 | #define NO_RECOVERY 3 |
2100 | 2065 | #define NR_ICMP_TYPES 18 |
2101 | 2066 | #define NR_ICMP_UNREACH 15 |
2102 | | -#define NSIG _NSIG |
2103 | 2067 | #define NSLC 18 |
2104 | 2068 | #define NS_ALG_DH 2 |
2105 | 2069 | #define NS_ALG_DSA 3 |
|
3449 | 3413 | #define R_NIOS2_TLS_TPREL 35 |
3450 | 3414 | #define R_NIOS2_U16 2 |
3451 | 3415 | #define R_NIOS2_UJMP 18 |
3452 | | - #define R_OK (4) |
| 3416 | +#define R_OK (4) |
3453 | 3417 | #define R_OR1K_16 2 |
3454 | 3418 | #define R_OR1K_16_PCREL 10 |
3455 | 3419 | #define R_OR1K_32 1 |
|
4137 | 4101 | #define SEEK_END __WASI_WHENCE_END |
4138 | 4102 | #define SEEK_SET __WASI_WHENCE_SET |
4139 | 4103 | #define SEGSIZE 512 |
4140 | | -#define SEGV_ACCERR 2 |
4141 | | -#define SEGV_BNDERR 3 |
4142 | | -#define SEGV_MAPERR 1 |
4143 | | -#define SEGV_PKUERR 4 |
4144 | 4104 | #define SELFMAG 4 |
4145 | 4105 | #define SEM_FAILED ((sem_t *)0) |
4146 | 4106 | #define SEM_NSEMS_MAX 256 |
|
4293 | 4253 | #define SIGBUS 7 |
4294 | 4254 | #define SIGCHLD 17 |
4295 | 4255 | #define SIGCONT 18 |
4296 | | -#define SIGEV_NONE 1 |
4297 | | -#define SIGEV_SIGNAL 0 |
4298 | | -#define SIGEV_THREAD 2 |
4299 | | -#define SIGEV_THREAD_ID 4 |
4300 | 4256 | #define SIGFPE 8 |
4301 | 4257 | #define SIGHUP 1 |
4302 | 4258 | #define SIGILL 4 |
|
4328 | 4284 | #define SIGXFSZ 25 |
4329 | 4285 | #define SIG_ATOMIC_MAX INT32_MAX |
4330 | 4286 | #define SIG_ATOMIC_MIN INT32_MIN |
4331 | | -#define SIG_BLOCK 0 |
4332 | | -#define SIG_DFL ((void (*)(int)) 0) |
4333 | | -#define SIG_ERR (__SIG_ERR) |
4334 | | -#define SIG_HOLD ((void (*)(int)) 2) |
4335 | | -#define SIG_IGN (__SIG_IGN) |
4336 | | -#define SIG_SETMASK 2 |
4337 | | -#define SIG_UNBLOCK 1 |
4338 | 4287 | #define SIZE_MAX UINT32_MAX |
4339 | | -#define SI_ASYNCIO (-4) |
4340 | | -#define SI_ASYNCNL (-60) |
4341 | | -#define SI_KERNEL 128 |
4342 | 4288 | #define SI_LOAD_SHIFT 16 |
4343 | | -#define SI_MESGQ (-3) |
4344 | | -#define SI_QUEUE (-1) |
4345 | | -#define SI_SIGIO (-5) |
4346 | | -#define SI_TIMER (-2) |
4347 | | -#define SI_TKILL (-6) |
4348 | | -#define SI_USER 0 |
4349 | 4289 | #define SLC_ABORT 7 |
4350 | 4290 | #define SLC_ACK 0x80 |
4351 | 4291 | #define SLC_AO 4 |
|
4920 | 4860 | #define YESSTR 0x50002 |
4921 | 4861 | #define YXDOMAIN ns_r_yxdomain |
4922 | 4862 | #define YXRRSET ns_r_yxrrset |
4923 | | -#define _AIO_H |
4924 | 4863 | #define _ALLOCA_H |
4925 | 4864 | #define _ALL_SOURCE 1 |
4926 | 4865 | #define _ARPA_FTP_H |
|
4977 | 4916 | #define _Complex_I (0.0f+1.0fi) |
4978 | 4917 | #define _DIRENT_H |
4979 | 4918 | #define _DIRENT_HAVE_D_TYPE |
4980 | | -#define _ELF_H |
| 4919 | +#define _ELF_H |
4981 | 4920 | #define _ENDIAN_H |
4982 | 4921 | #define _ERRNO_H |
4983 | 4922 | #define _ERR_H |
|
4991 | 4930 | #define _GETOPT_H |
4992 | 4931 | #define _GLOB_H |
4993 | 4932 | #define _GNU_SOURCE 1 |
4994 | | -#define _GRP_H |
| 4933 | +#define _GRP_H |
4995 | 4934 | #define _ICONV_H |
4996 | 4935 | #define _IFADDRS_H |
4997 | 4936 | #define _ILP32 1 |
|
5025 | 4964 | #define _NSIG 65 |
5026 | 4965 | #define _NSIG_BPW 32 |
5027 | 4966 | #define _NSIG_WORDS (_NSIG / _NSIG_BPW) |
5028 | | -#define _PATHS_H |
| 4967 | +#define _PATHS_H |
5029 | 4968 | #define _PATH_BSHELL "/bin/sh" |
5030 | 4969 | #define _PATH_CONSOLE "/dev/console" |
5031 | 4970 | #define _PATH_DEFPATH "/usr/local/bin:/bin:/usr/bin" |
|
5125 | 5064 | #define _POSIX_STREAM_MAX 8 |
5126 | 5065 | #define _POSIX_SYMLINK_MAX 255 |
5127 | 5066 | #define _POSIX_SYMLOOP_MAX 8 |
| 5067 | +#define _POSIX_THREADS _POSIX_VERSION |
5128 | 5068 | #define _POSIX_THREAD_ATTR_STACKADDR _POSIX_VERSION |
5129 | 5069 | #define _POSIX_THREAD_ATTR_STACKSIZE _POSIX_VERSION |
5130 | 5070 | #define _POSIX_THREAD_CPUTIME _POSIX_VERSION |
|
5147 | 5087 | #define _POSIX_V7_ILP32_OFFBIG (1) |
5148 | 5088 | #define _POSIX_VDISABLE 0 |
5149 | 5089 | #define _POSIX_VERSION 200809L |
5150 | | -#define _PTHREAD_H |
| 5090 | +#define _PTHREAD_H |
5151 | 5091 | #define _PTRDIFF_T |
5152 | 5092 | #define _PWD_H |
5153 | 5093 | #define _REENTRANT 1 |
|
5297 | 5237 | #define _SEARCH_H |
5298 | 5238 | #define _SEMAPHORE_H |
5299 | 5239 | #define _SETJMP_H |
5300 | | -#define _SHADOW_H |
5301 | | -#define _SIGNAL_H |
| 5240 | +#define _SHADOW_H |
5302 | 5241 | #define _SIZE_T |
5303 | 5242 | #define _SPAWN_H |
5304 | 5243 | #define _STDALIGN_H |
|
6418 | 6357 | #define __tg_real_remquo(x,y,z) (__RETCAST_2(x, y)( __FLT(x) && __FLT(y) ? remquof(x, y, z) : __LDBL((x)+(y)) ? remquol(x, y, z) : remquo(x, y, z) )) |
6419 | 6358 | #define __tm_gmtoff tm_gmtoff |
6420 | 6359 | #define __tm_zone tm_zone |
6421 | | -#define __ucontext ucontext |
6422 | 6360 | #define __va_copy(d,s) __builtin_va_copy(d,s) |
6423 | 6361 | #define __wasi__ 1 |
6424 | 6362 | #define __wasi_api_h |
|
6449 | 6387 | #define __wasilibc___macro_PAGESIZE_h |
6450 | 6388 | #define __wasilibc___mode_t_h |
6451 | 6389 | #define __wasilibc___seek_h |
6452 | | -#define __wasilibc___struct_dirent_h |
6453 | | -#define __wasilibc___struct_group_filter_h |
6454 | | -#define __wasilibc___struct_group_req_h |
6455 | | -#define __wasilibc___struct_group_source_req_h |
6456 | | -#define __wasilibc___struct_if_addrs_h |
6457 | | -#define __wasilibc___struct_in6_addr_h |
6458 | | -#define __wasilibc___struct_in6_mtuinfo_h |
6459 | | -#define __wasilibc___struct_in6_pktinfo_h |
6460 | | -#define __wasilibc___struct_in_addr_h |
6461 | | -#define __wasilibc___struct_in_pktinfo_h |
6462 | | -#define __wasilibc___struct_iovec_h |
6463 | | -#define __wasilibc___struct_ip_mreq_h |
6464 | | -#define __wasilibc___struct_ip_mreq_source_h |
6465 | | -#define __wasilibc___struct_ip_mreqn_h |
6466 | | -#define __wasilibc___struct_ip_msfilter_h |
6467 | | -#define __wasilibc___struct_ip_opts_h |
6468 | | -#define __wasilibc___struct_ipv6_mreq_h |
6469 | | -#define __wasilibc___struct_msghdr_h |
| 6390 | +#define __wasilibc___struct_dirent_h |
| 6391 | +#define __wasilibc___struct_group_filter_h |
| 6392 | +#define __wasilibc___struct_group_req_h |
| 6393 | +#define __wasilibc___struct_group_source_req_h |
| 6394 | +#define __wasilibc___struct_if_addrs_h |
| 6395 | +#define __wasilibc___struct_in6_addr_h |
| 6396 | +#define __wasilibc___struct_in6_mtuinfo_h |
| 6397 | +#define __wasilibc___struct_in6_pktinfo_h |
| 6398 | +#define __wasilibc___struct_in_addr_h |
| 6399 | +#define __wasilibc___struct_in_pktinfo_h |
| 6400 | +#define __wasilibc___struct_iovec_h |
| 6401 | +#define __wasilibc___struct_ip_mreq_h |
| 6402 | +#define __wasilibc___struct_ip_mreq_source_h |
| 6403 | +#define __wasilibc___struct_ip_mreqn_h |
| 6404 | +#define __wasilibc___struct_ip_msfilter_h |
| 6405 | +#define __wasilibc___struct_ip_opts_h |
| 6406 | +#define __wasilibc___struct_ipv6_mreq_h |
| 6407 | +#define __wasilibc___struct_msghdr_h |
6470 | 6408 | #define __wasilibc___struct_pollfd_h |
6471 | 6409 | #define __wasilibc___struct_rusage_h |
6472 | 6410 | #define __wasilibc___struct_sockaddr_h |
|
6507 | 6445 | #define __wasm__ 1 |
6508 | 6446 | #define __wasm_atomics__ 1 |
6509 | 6447 | #define __wasm_bulk_memory__ 1 |
6510 | | -#define __wasm_mutable_globals__ 1 |
6511 | | -#define __wasm_sign_ext__ 1 |
6512 | 6448 | #define _tolower(a) ((a)|0x20) |
6513 | 6449 | #define _toupper(a) ((a)&0x5f) |
6514 | 6450 | #define acos(x) __tg_real_complex(acos, (x)) |
6515 | 6451 | #define acosh(x) __tg_real_complex(acosh, (x)) |
6516 | | -#define aio_cancel64 aio_cancel |
6517 | | -#define aio_error64 aio_error |
6518 | | -#define aio_fsync64 aio_fsync |
6519 | | -#define aio_read64 aio_read |
6520 | | -#define aio_return64 aio_return |
6521 | | -#define aio_suspend64 aio_suspend |
6522 | | -#define aio_write64 aio_write |
6523 | | -#define aiocb64 aiocb |
6524 | 6452 | #define alignas _Alignas |
6525 | 6453 | #define alignof _Alignof |
6526 | 6454 | #define alloca __builtin_alloca |
|
6673 | 6601 | #define letoh32(x) (uint32_t)(x) |
6674 | 6602 | #define letoh64(x) (uint64_t)(x) |
6675 | 6603 | #define lgamma(x) __tg_real(lgamma, (x)) |
6676 | | -#define lio_listio64 lio_listio |
6677 | 6604 | #define llrint(x) __tg_real_nocast(llrint, (x)) |
6678 | 6605 | #define llround(x) __tg_real_nocast(llround, (x)) |
6679 | 6606 | #define loff_t off_t |
|
6769 | 6696 | #define rr_code rr_hdr.icmp6_code |
6770 | 6697 | #define rr_seqnum rr_hdr.icmp6_data32[0] |
6771 | 6698 | #define rr_type rr_hdr.icmp6_type |
6772 | | -#define sa_handler __sa_handler.sa_handler |
6773 | | -#define sa_sigaction __sa_handler.sa_sigaction |
6774 | 6699 | #define scalbln(x,y) __tg_real_2_1(scalbln, (x), (y)) |
6775 | 6700 | #define scalbn(x,y) __tg_real_2_1(scalbn, (x), (y)) |
6776 | 6701 | #define scandir64 scandir |
6777 | 6702 | #define setbit(x,i) __bitop(x,i,|=) |
6778 | 6703 | #define setjmp setjmp |
6779 | | -#define si_addr __si_fields.__sigfault.si_addr |
6780 | | -#define si_addr_lsb __si_fields.__sigfault.si_addr_lsb |
6781 | | -#define si_arch __si_fields.__sigsys.si_arch |
6782 | | -#define si_band __si_fields.__sigpoll.si_band |
6783 | | -#define si_call_addr __si_fields.__sigsys.si_call_addr |
6784 | | -#define si_fd __si_fields.__sigpoll.si_fd |
6785 | | -#define si_int si_value.sival_int |
6786 | | -#define si_lower __si_fields.__sigfault.__first.__addr_bnd.si_lower |
6787 | | -#define si_overrun __si_fields.__si_common.__first.__timer.si_overrun |
6788 | | -#define si_pid __si_fields.__si_common.__first.__piduid.si_pid |
6789 | | -#define si_pkey __si_fields.__sigfault.__first.si_pkey |
6790 | | -#define si_ptr si_value.sival_ptr |
6791 | | -#define si_status __si_fields.__si_common.__second.__sigchld.si_status |
6792 | | -#define si_stime __si_fields.__si_common.__second.__sigchld.si_stime |
6793 | | -#define si_syscall __si_fields.__sigsys.si_syscall |
6794 | | -#define si_timerid __si_fields.__si_common.__first.__timer.si_timerid |
6795 | | -#define si_uid __si_fields.__si_common.__first.__piduid.si_uid |
6796 | | -#define si_upper __si_fields.__sigfault.__first.__addr_bnd.si_upper |
6797 | | -#define si_utime __si_fields.__si_common.__second.__sigchld.si_utime |
6798 | | -#define si_value __si_fields.__si_common.__second.si_value |
6799 | | -#define sigev_notify_attributes __sev_fields.__sev_thread.sigev_notify_attributes |
6800 | | -#define sigev_notify_function __sev_fields.__sev_thread.sigev_notify_function |
6801 | | -#define sigev_notify_thread_id __sev_fields.sigev_notify_thread_id |
6802 | 6704 | #define signbit(x) (__builtin_signbit(x)) |
6803 | 6705 | #define sin(x) __tg_real_complex(sin, (x)) |
6804 | 6706 | #define sinh(x) __tg_real_complex(sinh, (x)) |
|
0 commit comments