Skip to content

Commit

Permalink
hppa: sigaction.h: update define export based on __USE_XOPEN2K8
Browse files Browse the repository at this point in the history
This brings hppa in line with other ports by exporting a few more defines
based on the __USE_XOPEN2K8 define and not just __USE_MISC.
  • Loading branch information
Mike Frysinger committed Aug 18, 2015
1 parent c5bf7f8 commit d5a77fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2015-08-18 Mike Frysinger <vapier@gentoo.org>

* sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.

2015-08-18 Mike Frysinger <vapier@gentoo.org>

* sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
Expand Down
2 changes: 2 additions & 0 deletions sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ struct sigaction
three arguments instead of one. */
#if defined __USE_UNIX98 || defined __USE_MISC
# define SA_ONSTACK 0x00000001 /* Use signal stack by using `sa_restorer'. */
#endif
#if defined __USE_UNIX98 || defined __USE_XOPEN2K8
# define SA_RESETHAND 0x00000004 /* Reset to SIG_DFL on entry to handler. */
# define SA_NODEFER 0x00000020 /* Don't automatically block the signal
when its handler is being executed. */
Expand Down

0 comments on commit d5a77fc

Please sign in to comment.