diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-07-11 08:15:36 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-07-11 08:15:36 +0000 |
commit | f8d13125bf61d0c1e73dde18ebf581e14a4e62a5 (patch) | |
tree | e19d17ffd394cea67178e3e6fcfbd25ff5771c79 /gdb/config/tm-linux.h | |
parent | d29d80f20cde02febef0ca3db72c757acf7e7969 (diff) | |
download | gdb-f8d13125bf61d0c1e73dde18ebf581e14a4e62a5.zip gdb-f8d13125bf61d0c1e73dde18ebf581e14a4e62a5.tar.gz gdb-f8d13125bf61d0c1e73dde18ebf581e14a4e62a5.tar.bz2 |
* config/tm-linux.h: Do not include <signal.h>. Instead provide
reasonable defaults for REALTIME_LO and REALTIME_HI if they're not
already defined.
* config/nm-linux.h: Include <signal.h>.
[__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and
(__SIGRTMAX + 1) respectively.
Diffstat (limited to 'gdb/config/tm-linux.h')
-rw-r--r-- | gdb/config/tm-linux.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gdb/config/tm-linux.h b/gdb/config/tm-linux.h index 21ff4ef..9389872 100644 --- a/gdb/config/tm-linux.h +++ b/gdb/config/tm-linux.h @@ -19,15 +19,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* Some versions of Linux have real-time signal support in the C library, and - some don't. We have to include this file to find out. */ -#include <signal.h> - -#ifdef __SIGRTMIN -#define REALTIME_LO __SIGRTMIN -#define REALTIME_HI (__SIGRTMAX + 1) -#else +/* Pick reasonable defaults for the number of real-time signals. */ + +#ifndef REALTIME_LO #define REALTIME_LO 32 +#endif +#ifndef REALTIME_HI #define REALTIME_HI 64 #endif |