Remove support in configure for unsupported architectures
[glibc.git] / sysdeps / unix / sysv / linux / ia64 / bits / sigstack.h
blobc9c9d2fedb76e92799f64d04233171d208b43f57
1 /* sigstack, sigaltstack definitions.
2 Copyright (C) 1998, 2000, 2002, 2003 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18 02111-1307 USA. */
20 #ifndef _SIGNAL_H
21 # error "Never include this file directly. Use <signal.h> instead"
22 #endif
24 #ifndef _SIGSTACK_H
25 #define _SIGSTACK_H 1
27 /* Structure describing a signal stack (obsolete). */
28 struct sigstack
30 __ptr_t ss_sp; /* Signal stack pointer. */
31 int ss_onstack; /* Nonzero if executing on this stack. */
35 /* Possible values for `ss_flags.'. */
36 enum
38 SS_ONSTACK = 1,
39 #define SS_ONSTACK SS_ONSTACK
40 SS_DISABLE
41 #define SS_DISABLE SS_DISABLE
44 /* Minimum stack size for a signal handler.
46 Yes, this should be 131072 but the constant got defined incorrectly
47 in the kernel and we have to live with it. Users should in any case
48 use SIGSTKSZ as the size user-supplied buffers should have. */
49 #define MINSIGSTKSZ 131027
51 /* System default stack size. */
52 #define SIGSTKSZ 262144
55 /* Alternate, preferred interface. */
56 typedef struct sigaltstack
58 __ptr_t ss_sp;
59 int ss_flags;
60 size_t ss_size;
61 } stack_t;
63 #endif /* bits/sigstack.h */