From 0768501a2f97c84d945fb05b25e74571831b80ae Mon Sep 17 00:00:00 2001 From: mike Date: Sun, 13 Oct 2002 00:31:46 +0000 Subject: Add standards visibility conditionals. Change any uses of sigset_t to struct __sigset to avoid depending on objects from . --- sys/arm/include/signal.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'sys/arm/include') diff --git a/sys/arm/include/signal.h b/sys/arm/include/signal.h index 973cda7..7073fa4 100644 --- a/sys/arm/include/signal.h +++ b/sys/arm/include/signal.h @@ -39,12 +39,15 @@ #ifndef _MACHINE_SIGNAL_H_ #define _MACHINE_SIGNAL_H_ -typedef long sig_atomic_t; +#include -#ifndef _ANSI_SOURCE +typedef long sig_atomic_t; +#if __XSI_VISIBLE #define MINSIGSTKSZ (1024 * 4) +#endif +#if __BSD_VISIBLE typedef int osigset_t; struct osigcontext { @@ -53,6 +56,6 @@ struct osigcontext { struct sigcontext { }; -#endif /* !_ANSI_SOURCE */ +#endif #endif /* !_MACHINE_SIGNAL_H_ */ -- cgit v1.1