make sigaltstack work (missing macros in signal.h, error conditions)

This commit is contained in:
Rich Felker 2011-03-10 10:17:29 -05:00
commit 6871fd773d
3 changed files with 15 additions and 1 deletions

View file

@ -131,6 +131,8 @@ struct __siginfo
#define POLL_HUP 6
#define SS_ONSTACK 1
#define SS_DISABLE 2
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192
#endif
#define SA_NOCLDSTOP 1

View file

@ -137,6 +137,8 @@ struct __siginfo
#define POLL_HUP 6
#define SS_ONSTACK 1
#define SS_DISABLE 2
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192
#endif
#define SA_NOCLDSTOP 1