move signal.h definition of stack_t to arch-specific bits

it's different at least on mips. mips version will be fixed in a
separate commit to show the change.
This commit is contained in:
Rich Felker 2014-03-18 23:12:40 -04:00
commit bd5f221eaa
9 changed files with 48 additions and 6 deletions

View file

@ -29,6 +29,12 @@ typedef struct __ucontext {
sigset_t uc_sigmask;
} ucontext_t;
typedef struct sigaltstack {
void *ss_sp;
int ss_flags;
size_t ss_size;
} stack_t;
#define SA_NOCLDSTOP 1
#define SA_NOCLDWAIT 2
#define SA_SIGINFO 4