* 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:
parent
1b30bebf85
commit
364648978f
3 changed files with 16 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue