RT says QNX 4 has _SIGMAX not SIGMAX or NSIG

This commit is contained in:
tg
2012-12-28 03:35:34 +00:00
parent 192ea7638b
commit 113db497ba
2 changed files with 7 additions and 3 deletions

4
sh.h
View File

@@ -164,7 +164,7 @@
#endif
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.622 2012/12/28 02:28:37 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.623 2012/12/28 03:35:34 tg Exp $");
#endif
#define MKSH_VERSION "R41 2012/12/27"
@@ -335,6 +335,8 @@ struct rusage {
#define NSIG _NSIG
#elif defined(SIGMAX)
#define NSIG (SIGMAX+1)
#elif defined(_SIGMAX)
#define NSIG (_SIGMAX+1)
#endif
#endif