mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
update musl headers to 1.2.1
This commit is contained in:
parent
008dd90f1f
commit
dba94f453a
7 changed files with 5 additions and 11 deletions
|
|
@ -24,11 +24,6 @@ struct in_addr inet_makeaddr(in_addr_t, in_addr_t);
|
|||
in_addr_t inet_lnaof(struct in_addr);
|
||||
in_addr_t inet_netof(struct in_addr);
|
||||
|
||||
#undef INET_ADDRSTRLEN
|
||||
#undef INET6_ADDRSTRLEN
|
||||
#define INET_ADDRSTRLEN 16
|
||||
#define INET6_ADDRSTRLEN 46
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -60,8 +60,6 @@ struct ipv6_mreq {
|
|||
|
||||
extern const struct in6_addr in6addr_any, in6addr_loopback;
|
||||
|
||||
#undef INET_ADDRSTRLEN
|
||||
#undef INET6_ADDRSTRLEN
|
||||
#define INET_ADDRSTRLEN 16
|
||||
#define INET6_ADDRSTRLEN 46
|
||||
|
||||
|
|
|
|||
|
|
@ -74,6 +74,9 @@ extern "C" {
|
|||
#define PTHREAD_BARRIER_SERIAL_THREAD (-1)
|
||||
|
||||
|
||||
#define PTHREAD_NULL ((pthread_t)0)
|
||||
|
||||
|
||||
int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void *__restrict);
|
||||
int pthread_detach(pthread_t);
|
||||
_Noreturn void pthread_exit(void *);
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ typedef struct __ucontext {
|
|||
#define SIGTRAP 5
|
||||
#define SIGABRT 6
|
||||
#define SIGIOT SIGABRT
|
||||
#define SIGSTKFLT 7
|
||||
#define SIGEMT 7
|
||||
#define SIGFPE 8
|
||||
#define SIGKILL 9
|
||||
#define SIGBUS 10
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ typedef struct __ucontext {
|
|||
#define SIGTRAP 5
|
||||
#define SIGABRT 6
|
||||
#define SIGIOT SIGABRT
|
||||
#define SIGSTKFLT 7
|
||||
#define SIGEMT 7
|
||||
#define SIGFPE 8
|
||||
#define SIGKILL 9
|
||||
#define SIGBUS 10
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#define MAP_NORESERVE 0x40
|
||||
#undef MAP_LOCKED
|
||||
#define MAP_LOCKED 0x80
|
||||
#undef MAP_SYNC
|
||||
|
||||
#undef MCL_CURRENT
|
||||
#define MCL_CURRENT 0x2000
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#define MAP_NORESERVE 0x40
|
||||
#undef MAP_LOCKED
|
||||
#define MAP_LOCKED 0x80
|
||||
#undef MAP_SYNC
|
||||
|
||||
#undef MCL_CURRENT
|
||||
#define MCL_CURRENT 0x2000
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue