[PATCH] libc/sysdeps/linux/common/bits/wchar.h: resync with glibc, fix build issue...
[uclibc-ng.git] / libc / sysdeps / linux / common / bits / kernel_sigaction.h
blob21e4c9296e48a2a614faf9e0ccc2fd425e790ad0
1 #ifndef _BITS_SIGACTION_STRUCT_H
2 #define _BITS_SIGACTION_STRUCT_H
4 /* This file provides whatever this particular arch's kernel thinks
5 * the sigaction struct should look like... */
8 #if defined(__ia64__)
10 #undef HAVE_SA_RESTORER
12 #else
14 #define HAVE_SA_RESTORER
15 /* This is the sigaction structure from the Linux 2.1.20 kernel. */
16 struct old_kernel_sigaction {
17 __sighandler_t k_sa_handler;
18 unsigned long sa_mask;
19 unsigned long sa_flags;
20 void (*sa_restorer)(void);
23 /* This is the sigaction structure from the Linux 2.1.68 kernel. */
24 struct kernel_sigaction {
25 __sighandler_t k_sa_handler;
26 unsigned long sa_flags;
27 void (*sa_restorer) (void);
28 sigset_t sa_mask;
30 #endif
32 #endif /* _BITS_SIGACTION_STRUCT_H */