diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h b/sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h new file mode 100644 index 0000000000..4292d7c9cd --- /dev/null +++ b/sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h @@ -0,0 +1,15 @@ +/* Architecture-specific adjustments to siginfo_t. MIPS version. */ +#ifndef _BITS_SIGINFO_ARCH_H +#define _BITS_SIGINFO_ARCH_H 1 + +/* MIPS has the si_code and si_errno fields in the opposite order from + all other architectures. */ +#undef __SI_ERRNO_THEN_CODE +#define __SI_ERRNO_THEN_CODE 0 + +/* MIPS also has different values for SI_ASYNCIO, SI_MESGQ, and SI_TIMER + than all other architectures. */ +#undef __SI_ASYNCIO_AFTER_SIGIO +#define __SI_ASYNCIO_AFTER_SIGIO 0 + +#endif |