Fix MS-Windows build broken by 2011-07-08T20:39:30Z!eggert@cs.ucla.edu.
src/w32.c (pthread_sigmask): New stub.
This commit is contained in:
parent
2d43b8c971
commit
8278c4fef8
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2011-07-09 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* w32.c (pthread_sigmask): New stub.
|
||||
|
||||
2011-07-08 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Use pthread_sigmask, not sigprocmask (Bug#9010).
|
||||
|
|
|
@ -1451,6 +1451,14 @@ sigprocmask (int how, const sigset_t *set, sigset_t *oset)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
pthread_sigmask (int how, const sigset_t *set, sigset_t *oset)
|
||||
{
|
||||
if (sigprocmask (how, set, oset) == -1)
|
||||
return EINVAL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
setpgrp (int pid, int gid)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue