Factor out shared definitions from bits/signum.h.
[glibc.git] / sysdeps / unix / sysv / linux / alpha / bits / signum.h
blob8227be91b5fac98b4cc6f1ddd3d24b58848abf82
1 /* Signal number definitions. Linux/Alpha version.
2 Copyright (C) 1996-2017 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, see
17 <http://www.gnu.org/licenses/>. */
19 #ifndef _BITS_SIGNUM_H
20 #define _BITS_SIGNUM_H 1
22 #ifndef _SIGNAL_H
23 #error "Never include <bits/signum.h> directly; use <signal.h> instead."
24 #endif
26 #include <bits/signum-generic.h>
28 /* Adjustments and additions to the signal number constants for
29 Linux/Alpha. Signal values on this platform were chosen for OSF/1
30 binary compatibility, and are therefore almost identical to the
31 BSD-derived defaults. */
33 #define SIGEMT 7 /* Emulator trap (4.2 BSD). */
34 #define SIGINFO 29 /* Information request (BSD). */
35 #define SIGPWR SIGINFO /* Power failure imminent (System V). */
37 #undef __SIGRTMAX
38 #define __SIGRTMAX 64
40 #endif /* <signal.h> included. */