summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64/include/signal.h')
-rw-r--r--sys/sparc64/include/signal.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/sparc64/include/signal.h b/sys/sparc64/include/signal.h
index f751d0b..753077c 100644
--- a/sys/sparc64/include/signal.h
+++ b/sys/sparc64/include/signal.h
@@ -38,22 +38,26 @@
#ifndef _MACHINE_SIGNAL_H_
#define _MACHINE_SIGNAL_H_
-typedef long sig_atomic_t;
+#include <sys/cdefs.h>
-#ifndef _ANSI_SOURCE
+typedef long sig_atomic_t;
+#if __XSI_VISIBLE
#define MINSIGSTKSZ (1024 * 4)
+#endif
+#if _KERNEL
typedef int osigset_t;
struct osigcontext {
int dummy;
};
+#endif
+#if __BSD_VISIBLE
struct sigcontext {
- int dummy;
+ int _dummy;
};
-
-#endif /* !_ANSI_SOURCE */
+#endif /* __BSD_VISIBLE */
#endif /* !_MACHINE_SIGNAL_H_ */
OpenPOWER on IntegriCloud