summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-10-10 15:52:33 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-10-10 15:52:33 +0000
commitd348b4d2a58ed77edc5a54dc92f321a330c0c424 (patch)
treef6831a9d023e539eb7a04d8d3f9c4ef26e7a613d
parent2eb072e493901cb8e674667988873e22033197cd (diff)
Notes
-rw-r--r--sys/sys/_sigset.h4
-rw-r--r--sys/sys/signal.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/_sigset.h b/sys/sys/_sigset.h
index edddbbece69d..6ef2814181d4 100644
--- a/sys/sys/_sigset.h
+++ b/sys/sys/_sigset.h
@@ -125,7 +125,7 @@ typedef void __sighandler_t __P((int));
#define SIG_HOLD ((__sighandler_t *)2)
#define SIG_ERR ((__sighandler_t *)-1)
-#ifndef _POSIX_SOURCE
+#ifdef _P1003_1B_VISIBLE
union sigval {
/* Members as suggested by Annex C of POSIX 1003.1b. */
int sigval_int;
@@ -150,7 +150,7 @@ typedef struct __siginfo {
long si_band; /* band event for SIGPOLL */
int __spare__[7]; /* gimme some slack */
} siginfo_t;
-#endif
+#endif /* _P1003_1B_VISIBLE */
typedef struct __sigset {
unsigned int __bits[_SIG_WORDS];
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index edddbbece69d..6ef2814181d4 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -125,7 +125,7 @@ typedef void __sighandler_t __P((int));
#define SIG_HOLD ((__sighandler_t *)2)
#define SIG_ERR ((__sighandler_t *)-1)
-#ifndef _POSIX_SOURCE
+#ifdef _P1003_1B_VISIBLE
union sigval {
/* Members as suggested by Annex C of POSIX 1003.1b. */
int sigval_int;
@@ -150,7 +150,7 @@ typedef struct __siginfo {
long si_band; /* band event for SIGPOLL */
int __spare__[7]; /* gimme some slack */
} siginfo_t;
-#endif
+#endif /* _P1003_1B_VISIBLE */
typedef struct __sigset {
unsigned int __bits[_SIG_WORDS];