mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 10:03:47 +08:00
gdbsupport: remove #ifndef REALTIME_LO in signals.cc
REALTIME_LO was only possibly previously defined in config/nm-nto.h, which is now removed. So we can remove the #ifndef protecting against a redefinition of REALTIME_LO in gdbsupport/signals.cc. Change-Id: I021b9518ceaa6223bd480ff1e07e9a978b0b241e Approved-by: Kevin Buettner <kevinb@redhat.com>
This commit is contained in:
parent
36fb20fa93
commit
554822d670
@ -30,14 +30,12 @@ struct gdbarch;
|
||||
_available_ realtime signal, not the lowest supported; glibc takes
|
||||
several for its own use. */
|
||||
|
||||
#ifndef REALTIME_LO
|
||||
# if defined(__SIGRTMIN)
|
||||
# define REALTIME_LO __SIGRTMIN
|
||||
# define REALTIME_HI (__SIGRTMAX + 1)
|
||||
# elif defined(SIGRTMIN)
|
||||
# define REALTIME_LO SIGRTMIN
|
||||
# define REALTIME_HI (SIGRTMAX + 1)
|
||||
# endif
|
||||
#if defined(__SIGRTMIN)
|
||||
# define REALTIME_LO __SIGRTMIN
|
||||
# define REALTIME_HI (__SIGRTMAX + 1)
|
||||
#elif defined(SIGRTMIN)
|
||||
# define REALTIME_LO SIGRTMIN
|
||||
# define REALTIME_HI (SIGRTMAX + 1)
|
||||
#endif
|
||||
|
||||
/* This table must match in order and size the signals in enum
|
||||
|
Loading…
Reference in New Issue
Block a user