Commit 3e47c82e authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

ntdll: Add a define for SYS_sigaction to __NR_sigaction.

Print an error if __NR_sigaction doesn't exist as this means the wrong syscall header is being used.
parent 40a6a74a
......@@ -103,6 +103,13 @@ struct kernel_sigaction
void *ksa_restorer;
};
#ifndef SYS_sigaction
# ifndef __NR_sigaction
# error The sigaction syscall is part of the Linux i386 ABI, but your headers don't define it. Please raise a bug with your distribution.
# endif
# define SYS_sigaction __NR_sigaction
#endif
/* Similar to the sigaction function in libc, except it leaves alone the
restorer field, which is used to specify the signal stack address */
static inline int wine_sigaction( int sig, struct kernel_sigaction *new,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment