diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-07-25 13:41:36 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2024-08-12 10:21:15 -0400 |
commit | 554822d670c6272fe991c5fcbdfb41433b182b9e (patch) | |
tree | 5fbbf9e90307962989c8446aa7d1699a1d49be8e | |
parent | 36fb20fa93484b104d91e42e38930ee8629192ab (diff) | |
download | binutils-554822d670c6272fe991c5fcbdfb41433b182b9e.zip binutils-554822d670c6272fe991c5fcbdfb41433b182b9e.tar.gz binutils-554822d670c6272fe991c5fcbdfb41433b182b9e.tar.bz2 |
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>
-rw-r--r-- | gdbsupport/signals.cc | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gdbsupport/signals.cc b/gdbsupport/signals.cc index 4989b3f..2cf641b 100644 --- a/gdbsupport/signals.cc +++ b/gdbsupport/signals.cc @@ -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 |