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
parent 25faa2034d
commit bd5f221eaa
9 changed files with 48 additions and 6 deletions

View File

@@ -46,6 +46,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 0x10000
#define SA_SIGINFO 8