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,
|
from std/posix import close, shutdown, socket, getpeername, getsockname,
|
||||||
recvfrom, sendto, send, bindSocket, recv, connect,
|
recvfrom, sendto, send, bindSocket, recv, connect,
|
||||||
unlink, listen, getaddrinfo, gai_strerror, getrlimit,
|
unlink, listen, getaddrinfo, gai_strerror, getrlimit,
|
||||||
setrlimit, getpid, pthread_sigmask, sigprocmask, sigemptyset,
|
setrlimit, getpid, pthread_sigmask, sigprocmask,
|
||||||
sigaddset, sigismember, fcntl, accept, pipe, write,
|
sigemptyset, sigaddset, sigismember, fcntl, accept,
|
||||||
signal, read, setsockopt, getsockopt, getcwd, chdir,
|
pipe, write, signal, read, setsockopt, getsockopt,
|
||||||
waitpid, kill,
|
getcwd, chdir, waitpid, kill,
|
||||||
Timeval, Timespec, Pid, Mode, Time, Sigset, SockAddr,
|
Timeval, Timespec, Pid, Mode, Time, Sigset, SockAddr,
|
||||||
SockLen, Sockaddr_storage, Sockaddr_in, Sockaddr_in6,
|
SockLen, Sockaddr_storage, Sockaddr_in, Sockaddr_in6,
|
||||||
Sockaddr_un, SocketHandle, AddrInfo, RLimit,
|
Sockaddr_un, SocketHandle, AddrInfo, RLimit,
|
||||||
|
@ -846,10 +846,10 @@ elif defined(macos) or defined(macosx):
|
||||||
export close, shutdown, socket, getpeername, getsockname,
|
export close, shutdown, socket, getpeername, getsockname,
|
||||||
recvfrom, sendto, send, bindSocket, recv, connect,
|
recvfrom, sendto, send, bindSocket, recv, connect,
|
||||||
unlink, listen, getaddrinfo, gai_strerror, getrlimit,
|
unlink, listen, getaddrinfo, gai_strerror, getrlimit,
|
||||||
setrlimit, getpid, pthread_sigmask, sigprocmask, sigemptyset,
|
setrlimit, getpid, pthread_sigmask, sigprocmask,
|
||||||
sigaddset, sigismember, fcntl, accept, pipe, write,
|
sigemptyset, sigaddset, sigismember, fcntl, accept,
|
||||||
signal, read, setsockopt, getsockopt, getcwd, chdir,
|
pipe, write, signal, read, setsockopt, getsockopt,
|
||||||
waitpid, kill,
|
getcwd, chdir, waitpid, kill,
|
||||||
Timeval, Timespec, Pid, Mode, Time, Sigset, SockAddr,
|
Timeval, Timespec, Pid, Mode, Time, Sigset, SockAddr,
|
||||||
SockLen, Sockaddr_storage, Sockaddr_in, Sockaddr_in6,
|
SockLen, Sockaddr_storage, Sockaddr_in, Sockaddr_in6,
|
||||||
Sockaddr_un, SocketHandle, AddrInfo, RLimit,
|
Sockaddr_un, SocketHandle, AddrInfo, RLimit,
|
||||||
|
@ -886,8 +886,8 @@ elif defined(linux):
|
||||||
getrlimit, setrlimit, getpeername, getsockname,
|
getrlimit, setrlimit, getpeername, getsockname,
|
||||||
recvfrom, sendto, send, bindSocket, recv, connect,
|
recvfrom, sendto, send, bindSocket, recv, connect,
|
||||||
unlink, listen, sendmsg, recvmsg, getpid, fcntl,
|
unlink, listen, sendmsg, recvmsg, getpid, fcntl,
|
||||||
pthread_sigmask, clock_gettime, signal, getcwd, chdir,
|
pthread_sigmask, sigprocmask, clock_gettime, signal,
|
||||||
waitpid, kill,
|
getcwd, chdir, waitpid, kill,
|
||||||
ClockId, Itimerspec, Timespec, Sigset, Time, Pid, Mode,
|
ClockId, Itimerspec, Timespec, Sigset, Time, Pid, Mode,
|
||||||
SigInfo, Id, Tmsghdr, IOVec, RLimit,
|
SigInfo, Id, Tmsghdr, IOVec, RLimit,
|
||||||
SockAddr, SockLen, Sockaddr_storage, Sockaddr_in,
|
SockAddr, SockLen, Sockaddr_storage, Sockaddr_in,
|
||||||
|
@ -909,8 +909,8 @@ elif defined(linux):
|
||||||
getrlimit, setrlimit, getpeername, getsockname,
|
getrlimit, setrlimit, getpeername, getsockname,
|
||||||
recvfrom, sendto, send, bindSocket, recv, connect,
|
recvfrom, sendto, send, bindSocket, recv, connect,
|
||||||
unlink, listen, sendmsg, recvmsg, getpid, fcntl,
|
unlink, listen, sendmsg, recvmsg, getpid, fcntl,
|
||||||
pthread_sigmask, clock_gettime, signal, getcwd, chdir,
|
pthread_sigmask, sigprocmask, clock_gettime, signal,
|
||||||
waitpid, kill,
|
getcwd, chdir, waitpid, kill,
|
||||||
ClockId, Itimerspec, Timespec, Sigset, Time, Pid, Mode,
|
ClockId, Itimerspec, Timespec, Sigset, Time, Pid, Mode,
|
||||||
SigInfo, Id, Tmsghdr, IOVec, RLimit,
|
SigInfo, Id, Tmsghdr, IOVec, RLimit,
|
||||||
SockAddr, SockLen, Sockaddr_storage, Sockaddr_in,
|
SockAddr, SockLen, Sockaddr_storage, Sockaddr_in,
|
||||||
|
|
Loading…
Reference in New Issue