about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog12
-rw-r--r--bits/signum.h2
-rw-r--r--sysdeps/unix/bsd/bits/signum.h2
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/signum.h2
-rw-r--r--sysdeps/unix/sysv/linux/bits/signum.h2
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/signum.h2
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/signum.h2
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/signum.h2
8 files changed, 19 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 6cc3067dae..ff791f711c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #21538]
+	* bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
+	[__USE_UNIX98].
+	* sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
+	* sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
+	Likewise.
+	* sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
+	* sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
+	* sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
+	* sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
+	Likewise.
+
 	[BZ #21517]
 	* bits/types/stack_t.h (stack_t): Remove struct tag.
 	* sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
diff --git a/bits/signum.h b/bits/signum.h
index 2f6a124c97..cfbc7ac8bb 100644
--- a/bits/signum.h
+++ b/bits/signum.h
@@ -24,7 +24,7 @@
 #define	SIG_DFL	 ((__sighandler_t)  0)	/* Default action.  */
 #define	SIG_IGN	 ((__sighandler_t)  1)	/* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD ((__sighandler_t)  2)	/* Add signal to hold mask.  */
 #endif
 
diff --git a/sysdeps/unix/bsd/bits/signum.h b/sysdeps/unix/bsd/bits/signum.h
index b080356c3d..268c24a702 100644
--- a/sysdeps/unix/bsd/bits/signum.h
+++ b/sysdeps/unix/bsd/bits/signum.h
@@ -26,7 +26,7 @@
 #define	SIG_DFL	((__sighandler_t) 0) /* Default action.  */
 #define	SIG_IGN	((__sighandler_t) 1) /* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD      ((__sighandler_t) 2)    /* Add signal to hold mask.  */
 #endif
 
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/signum.h b/sysdeps/unix/sysv/linux/alpha/bits/signum.h
index ed9a10703f..e5cc5218e3 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/signum.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/signum.h
@@ -23,7 +23,7 @@
 #define SIG_DFL ((__sighandler_t) 0) /* Default action.  */
 #define SIG_IGN ((__sighandler_t) 1) /* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD	((__sighandler_t) 2)	/* Add signal to hold mask.  */
 #endif
 
diff --git a/sysdeps/unix/sysv/linux/bits/signum.h b/sysdeps/unix/sysv/linux/bits/signum.h
index 43ded3068f..e30efead0d 100644
--- a/sysdeps/unix/sysv/linux/bits/signum.h
+++ b/sysdeps/unix/sysv/linux/bits/signum.h
@@ -23,7 +23,7 @@
 #define SIG_DFL	((__sighandler_t) 0)		/* Default action.  */
 #define SIG_IGN	((__sighandler_t) 1)		/* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD	((__sighandler_t) 2)	/* Add signal to hold mask.  */
 #endif
 
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/signum.h b/sysdeps/unix/sysv/linux/hppa/bits/signum.h
index 81c6d39344..20c0b60c9f 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/signum.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/signum.h
@@ -23,7 +23,7 @@
 #define SIG_DFL	((__sighandler_t) 0)		/* Default action.  */
 #define SIG_IGN	((__sighandler_t) 1)		/* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD	((__sighandler_t) 2)	/* Add signal to hold mask.  */
 #endif
 
diff --git a/sysdeps/unix/sysv/linux/mips/bits/signum.h b/sysdeps/unix/sysv/linux/mips/bits/signum.h
index bf8ceafd21..6c31e01cd7 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/signum.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/signum.h
@@ -23,7 +23,7 @@
 #define SIG_DFL ((__sighandler_t) 0)		/* Default action.  */
 #define SIG_IGN ((__sighandler_t) 1)		/* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD	((__sighandler_t) 2)	/* Add signal to hold mask.  */
 #endif
 
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/signum.h b/sysdeps/unix/sysv/linux/sparc/bits/signum.h
index 4de1a5b3d4..a0c5be5fa5 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/signum.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/signum.h
@@ -23,7 +23,7 @@
 #define SIG_DFL ((__sighandler_t) 0) /* Default action.  */
 #define SIG_IGN ((__sighandler_t) 1) /* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD	((__sighandler_t) 2)	/* Add signal to hold mask.  */
 #endif