mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 17:32:11 +03:00
compat: mingw: fix signal numbers
This commit is contained in:
parent
a9d4306026
commit
2adcdaab1f
@ -9,10 +9,9 @@ int utimes(const char *path, const struct timeval times[2]);
|
|||||||
|
|
||||||
int kill(pid_t pid, int signum);
|
int kill(pid_t pid, int signum);
|
||||||
|
|
||||||
#define SIGALRM (NSIG+0)
|
#define SIGUSR1 10
|
||||||
#define SIGVTALRM (NSIG+1)
|
#define SIGALRM 14
|
||||||
#define SIGINFO (NSIG+2)
|
#define SIGVTALRM 26
|
||||||
#define SIGUSR1 (NSIG+3)
|
#define SIG_COUNT 32
|
||||||
#define SIG_COUNT (NSIG+4)
|
|
||||||
|
|
||||||
#endif//_MINGW_IO_H
|
#endif//_MINGW_IO_H
|
@ -544,7 +544,7 @@ _king_sign_init(void)
|
|||||||
|
|
||||||
// handle SIGINFO (if available)
|
// handle SIGINFO (if available)
|
||||||
//
|
//
|
||||||
#ifndef U3_OS_linux
|
#ifdef SIGINFO
|
||||||
{
|
{
|
||||||
u3_usig* sig_u;
|
u3_usig* sig_u;
|
||||||
|
|
||||||
@ -600,7 +600,7 @@ _king_sign_cb(uv_signal_t* sil_u, c3_i num_i)
|
|||||||
|
|
||||||
// fallthru if defined
|
// fallthru if defined
|
||||||
//
|
//
|
||||||
#ifndef U3_OS_linux
|
#ifdef SIGINFO
|
||||||
case SIGINFO:
|
case SIGINFO:
|
||||||
#endif
|
#endif
|
||||||
case SIGUSR1: {
|
case SIGUSR1: {
|
||||||
|
Loading…
Reference in New Issue
Block a user