summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2016-01-12 14:47:07 +0000
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2016-01-26 10:51:42 +0000
commitcdfe2e65ec1960d301d083bee421388e064cd234 (patch)
tree37b5c45025c58e9b119007c55b1c261603ef92e6 /config_h.SH
parent34e79b757ab6100d44bdbfa6f9603793a4215bbf (diff)
downloadperl-cdfe2e65ec1960d301d083bee421388e064cd234.tar.gz
Probe for and expose more fields for SA_SIGINFO
These are all specified by POSIX/SUSv3, but not all platforms have them, as mentioned in POSIX.pm. We can only test the pid, uid and code fields, since they are the only ones that are defined for a user-sent signal.
Diffstat (limited to 'config_h.SH')
-rwxr-xr-xconfig_h.SH42
1 files changed, 42 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index e083524455..9dd2c095a0 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -2327,6 +2327,48 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_sigaction HAS_SIGACTION /**/
+/* HAS_SIGINFO_SI_ERRNO:
+ * This symbol, if defined, indicates that siginfo_t has the
+ * si_errno member
+ */
+#$d_siginfo_si_errno HAS_SIGINFO_SI_ERRNO /**/
+
+/* HAS_SIGINFO_SI_PID:
+ * This symbol, if defined, indicates that siginfo_t has the
+ * si_pid member
+ */
+#$d_siginfo_si_pid HAS_SIGINFO_SI_PID /**/
+
+/* HAS_SIGINFO_SI_UID:
+ * This symbol, if defined, indicates that siginfo_t has the
+ * si_uid member
+ */
+#$d_siginfo_si_uid HAS_SIGINFO_SI_UID /**/
+
+/* HAS_SIGINFO_SI_ADDR:
+ * This symbol, if defined, indicates that siginfo_t has the
+ * si_addr member
+ */
+#$d_siginfo_si_addr HAS_SIGINFO_SI_ADDR /**/
+
+/* HAS_SIGINFO_SI_STATUS:
+ * This symbol, if defined, indicates that siginfo_t has the
+ * si_status member
+ */
+#$d_siginfo_si_status HAS_SIGINFO_SI_STATUS /**/
+
+/* HAS_SIGINFO_SI_BAND:
+ * This symbol, if defined, indicates that siginfo_t has the
+ * si_band member
+ */
+#$d_siginfo_si_band HAS_SIGINFO_SI_BAND /**/
+
+/* HAS_SIGINFO_SI_VALUE:
+ * This symbol, if defined, indicates that siginfo_t has the
+ * si_value member
+ */
+#$d_siginfo_si_value HAS_SIGINFO_SI_VALUE /**/
+
/* HAS_SIGSETJMP:
* This variable indicates to the C program that the sigsetjmp()
* routine is available to save the calling process's registers