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);
|
||||
|
||||
#define SIGALRM (NSIG+0)
|
||||
#define SIGVTALRM (NSIG+1)
|
||||
#define SIGINFO (NSIG+2)
|
||||
#define SIGUSR1 (NSIG+3)
|
||||
#define SIG_COUNT (NSIG+4)
|
||||
#define SIGUSR1 10
|
||||
#define SIGALRM 14
|
||||
#define SIGVTALRM 26
|
||||
#define SIG_COUNT 32
|
||||
|
||||
#endif//_MINGW_IO_H
|
@ -544,7 +544,7 @@ _king_sign_init(void)
|
||||
|
||||
// handle SIGINFO (if available)
|
||||
//
|
||||
#ifndef U3_OS_linux
|
||||
#ifdef SIGINFO
|
||||
{
|
||||
u3_usig* sig_u;
|
||||
|
||||
@ -600,7 +600,7 @@ _king_sign_cb(uv_signal_t* sil_u, c3_i num_i)
|
||||
|
||||
// fallthru if defined
|
||||
//
|
||||
#ifndef U3_OS_linux
|
||||
#ifdef SIGINFO
|
||||
case SIGINFO:
|
||||
#endif
|
||||
case SIGUSR1: {
|
||||
|
Loading…
Reference in New Issue
Block a user