Dmitry V. Levin
5a25466437
* nsig.h: New file. * Makefile.am (strace_SOURCES): Add it. * signal.c: Include "nsig.h" instead of <signal.h>, remove NSIG workarounds. * sigreturn.c: Likewise. * syscall.c: Likewise. * tests/pselect6.c: Likewise.
14 lines
207 B
C
14 lines
207 B
C
#ifndef STRACE_NSIG_H
|
|
#define STRACE_NSIG_H
|
|
|
|
#include <signal.h>
|
|
|
|
#ifndef NSIG
|
|
# warning NSIG is not defined, using 32
|
|
# define NSIG 32
|
|
#elif NSIG < 32
|
|
# error NSIG < 32
|
|
#endif
|
|
|
|
#endif /* !STRACE_NSIG_H */
|