Fix sigprocmask declaration missing when threads are disabled. (#396)
This commit is contained in:
parent
b65b85533a
commit
36ab9c8e4a
|
@ -825,10 +825,10 @@ elif defined(macos) or defined(macosx):
|
|||
from std/posix import close, shutdown, socket, getpeername, getsockname,
|
||||
recvfrom, sendto, send, bindSocket, recv, connect,
|
||||
unlink, listen, getaddrinfo, gai_strerror, getrlimit,
|
||||
setrlimit, getpid, pthread_sigmask, sigprocmask, sigemptyset,
|
||||
sigaddset, sigismember, fcntl, accept, pipe, write,
|
||||
signal, read, setsockopt, getsockopt, getcwd, chdir,
|
||||
waitpid, kill,
|
||||
setrlimit, getpid, pthread_sigmask, sigprocmask,
|
||||
sigemptyset, sigaddset, sigismember, fcntl, accept,
|
||||
pipe, write, signal, read, setsockopt, getsockopt,
|
||||
getcwd, chdir, waitpid, kill,
|
||||
Timeval, Timespec, Pid, Mode, Time, Sigset, SockAddr,
|
||||
SockLen, Sockaddr_storage, Sockaddr_in, Sockaddr_in6,
|
||||
Sockaddr_un, SocketHandle, AddrInfo, RLimit,
|
||||
|
@ -846,10 +846,10 @@ elif defined(macos) or defined(macosx):
|
|||
export close, shutdown, socket, getpeername, getsockname,
|
||||
recvfrom, sendto, send, bindSocket, recv, connect,
|
||||
unlink, listen, getaddrinfo, gai_strerror, getrlimit,
|
||||
setrlimit, getpid, pthread_sigmask, sigprocmask, sigemptyset,
|
||||
sigaddset, sigismember, fcntl, accept, pipe, write,
|
||||
signal, read, setsockopt, getsockopt, getcwd, chdir,
|
||||
waitpid, kill,
|
||||
setrlimit, getpid, pthread_sigmask, sigprocmask,
|
||||
sigemptyset, sigaddset, sigismember, fcntl, accept,
|
||||
pipe, write, signal, read, setsockopt, getsockopt,
|
||||
getcwd, chdir, waitpid, kill,
|
||||
Timeval, Timespec, Pid, Mode, Time, Sigset, SockAddr,
|
||||
SockLen, Sockaddr_storage, Sockaddr_in, Sockaddr_in6,
|
||||
Sockaddr_un, SocketHandle, AddrInfo, RLimit,
|
||||
|
@ -886,8 +886,8 @@ elif defined(linux):
|
|||
getrlimit, setrlimit, getpeername, getsockname,
|
||||
recvfrom, sendto, send, bindSocket, recv, connect,
|
||||
unlink, listen, sendmsg, recvmsg, getpid, fcntl,
|
||||
pthread_sigmask, clock_gettime, signal, getcwd, chdir,
|
||||
waitpid, kill,
|
||||
pthread_sigmask, sigprocmask, clock_gettime, signal,
|
||||
getcwd, chdir, waitpid, kill,
|
||||
ClockId, Itimerspec, Timespec, Sigset, Time, Pid, Mode,
|
||||
SigInfo, Id, Tmsghdr, IOVec, RLimit,
|
||||
SockAddr, SockLen, Sockaddr_storage, Sockaddr_in,
|
||||
|
@ -909,8 +909,8 @@ elif defined(linux):
|
|||
getrlimit, setrlimit, getpeername, getsockname,
|
||||
recvfrom, sendto, send, bindSocket, recv, connect,
|
||||
unlink, listen, sendmsg, recvmsg, getpid, fcntl,
|
||||
pthread_sigmask, clock_gettime, signal, getcwd, chdir,
|
||||
waitpid, kill,
|
||||
pthread_sigmask, sigprocmask, clock_gettime, signal,
|
||||
getcwd, chdir, waitpid, kill,
|
||||
ClockId, Itimerspec, Timespec, Sigset, Time, Pid, Mode,
|
||||
SigInfo, Id, Tmsghdr, IOVec, RLimit,
|
||||
SockAddr, SockLen, Sockaddr_storage, Sockaddr_in,
|
||||
|
|
Loading…
Reference in New Issue