about summary refs log tree commit diff
path: root/linuxthreads/tst-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/tst-context.c')
-rw-r--r--linuxthreads/tst-context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linuxthreads/tst-context.c b/linuxthreads/tst-context.c
index c72b2ac101..9066e837e2 100644
--- a/linuxthreads/tst-context.c
+++ b/linuxthreads/tst-context.c
@@ -56,7 +56,9 @@ threadfct (void *arg)
 #endif
 
 
+#ifdef FLOATING_STACKS
 static volatile int global;
+#endif
 
 int
 main (void)