forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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>
|
||||
/* Pick reasonable defaults for the number of real-time signals. */
|
||||
|
||||
#ifdef __SIGRTMIN
|
||||
#define REALTIME_LO __SIGRTMIN
|
||||
#define REALTIME_HI (__SIGRTMAX + 1)
|
||||
#else
|
||||
#ifndef REALTIME_LO
|
||||
#define REALTIME_LO 32
|
||||
#endif
|
||||
#ifndef REALTIME_HI
|
||||
#define REALTIME_HI 64
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user