From 78a1b1beb47866d8c70bf7e8efd8007e2f6eacf8 Mon Sep 17 00:00:00 2001 From: stefanf Date: Sat, 20 Aug 2005 16:44:41 +0000 Subject: Move MINSIGSTKSZ from to and rename it to __MINSIGSTKSZ. Define MINSIGSTKSZ in . This is done in order to use MINSIGSTKSZ for the macro PTHREAD_STACK_MIN in (soon ) without having to include the whole header. Discussed with: bde --- sys/sparc64/include/_limits.h | 3 +++ sys/sparc64/include/signal.h | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/sparc64/include') diff --git a/sys/sparc64/include/_limits.h b/sys/sparc64/include/_limits.h index 04604a2..2483692 100644 --- a/sys/sparc64/include/_limits.h +++ b/sys/sparc64/include/_limits.h @@ -81,4 +81,7 @@ #define __LONG_BIT 64 #define __WORD_BIT 32 +/* Minimum signal stack size. */ +#define __MINSIGSTKSZ (1024 * 4) + #endif /* !_MACHINE__LIMITS_H_ */ diff --git a/sys/sparc64/include/signal.h b/sys/sparc64/include/signal.h index 853814c..d96cef6 100644 --- a/sys/sparc64/include/signal.h +++ b/sys/sparc64/include/signal.h @@ -38,10 +38,6 @@ typedef long sig_atomic_t; -#if __XSI_VISIBLE -#define MINSIGSTKSZ (1024 * 4) -#endif - #if __BSD_VISIBLE struct sigcontext { int _dummy; -- cgit v1.1