diff options
author | gingold | 2006-02-14 10:48:56 +0000 |
---|---|---|
committer | gingold | 2006-02-14 10:48:56 +0000 |
commit | 750ed35d4bbec0015e2e7e1f4f3543c7217bbcb2 (patch) | |
tree | 07bbdc41b0c1c9257966d807171e9bc926298ecf /translate/grt/config | |
parent | 517a3edcd4d7d97cdfe3301e362859eb816aeb29 (diff) | |
download | ghdl-750ed35d4bbec0015e2e7e1f4f3543c7217bbcb2.tar.gz ghdl-750ed35d4bbec0015e2e7e1f4f3543c7217bbcb2.tar.bz2 ghdl-750ed35d4bbec0015e2e7e1f4f3543c7217bbcb2.zip |
bugs fixes
Diffstat (limited to 'translate/grt/config')
-rw-r--r-- | translate/grt/config/linux.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/translate/grt/config/linux.c b/translate/grt/config/linux.c index ab999c0..2fe92c0 100644 --- a/translate/grt/config/linux.c +++ b/translate/grt/config/linux.c @@ -189,7 +189,12 @@ static void grt_signal_setup (void) #endif /* Context for the main stack. */ -static __thread struct stack_context main_stack_context; +#ifdef USE_THREADS +#define THREAD __thread +#else +#define THREAD +#endif +static THREAD struct stack_context main_stack_context; extern void grt_set_main_stack (struct stack_context *stack); |