mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
* paread.c (read_unwind_info): Just assign to objfile->obj_private,
not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which the HP compiler in ANSI mode doesn't like. * main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it based on USG, rather than defining HAVE_SIGSETMASK to an expression containing defined. This is for the HP compiler in ANSI mode.
This commit is contained in:
@ -324,7 +324,11 @@ static void stop_sig PARAMS ((int));
|
||||
|
||||
/* Some System V have job control but not sigsetmask(). */
|
||||
#if !defined (HAVE_SIGSETMASK)
|
||||
#define HAVE_SIGSETMASK !defined (USG)
|
||||
#if !defined (USG)
|
||||
#define HAVE_SIGSETMASK 1
|
||||
#else
|
||||
#define HAVE_SIGSETMASK 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if 0 == (HAVE_SIGSETMASK)
|
||||
|
Reference in New Issue
Block a user