summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-04 01:27:57 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-04 01:27:57 +0000
commit15b87e6a3fca8220730ffba75bd0cac7e2b97e4d (patch)
treec2940f7e8969c8021cf4e990804b8ef7858ca54e /libpthread
parenta7240d19c0715a9559f82611adc085e6cc58c864 (diff)
fix warning when building on non-mmu hosts
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/pthread.c2
1 files changed, 2 insertions, 0 deletions
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;