diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-01-25 16:39:10 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-01-25 16:39:10 +0000 |
commit | 364648978f43664a24edd6b396c0937d1601f938 (patch) | |
tree | aa88096c50a928127fb5fe2f61dc513b5160dc7f /gdb/main.c | |
parent | 1b30bebf859a32fc54c0def218535f437f24c515 (diff) | |
download | gdb-364648978f43664a24edd6b396c0937d1601f938.zip gdb-364648978f43664a24edd6b396c0937d1601f938.tar.gz gdb-364648978f43664a24edd6b396c0937d1601f938.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/main.c')
-rw-r--r-- | gdb/main.c | 6 |
1 files changed, 5 insertions, 1 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) |