From 15b87e6a3fca8220730ffba75bd0cac7e2b97e4d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 4 Feb 2006 01:27:57 +0000 Subject: fix warning when building on non-mmu hosts --- libpthread/linuxthreads.old/pthread.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpthread') diff --git a/libpthread/linuxthreads.old/pthread.c b/libpthread/linuxthreads.old/pthread.c index a4220f5a5..f66073efc 100644 --- a/libpthread/linuxthreads.old/pthread.c +++ b/libpthread/linuxthreads.old/pthread.c @@ -363,8 +363,10 @@ static void pthread_initialize(void) { struct sigaction sa; sigset_t mask; +#ifdef __ARCH_HAS_MMU__ struct rlimit limit; rlim_t max_stack; +#endif /* If already done (e.g. by a constructor called earlier!), bail out */ if (__pthread_initial_thread_bos != NULL) return; -- cgit v1.2.3