diff options
author | Simon Marlow <marlowsd@gmail.com> | 2013-01-17 16:42:38 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2013-01-17 20:30:01 +0000 |
commit | 0dcccf0ca650a3f6fd69e4af428e827b718f0b4b (patch) | |
tree | 619f13bbb52acb78a403ffff155d15e56abf1674 /rts/Task.h | |
parent | 81f4cd3e08996d35b3a70dfee4d70a829f2f2622 (diff) | |
download | haskell-0dcccf0ca650a3f6fd69e4af428e827b718f0b4b.tar.gz |
Hopefully fix breakage on OS X w/ LLVM
Reordering of includes in GC.c broke on OS X because gctKey is
declared in Task.h and is needed in the storage manager. This is
really the wrong place for it anyway, so I've moved the gctKey pieces
to where they should be.
Diffstat (limited to 'rts/Task.h')
-rw-r--r-- | rts/Task.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/rts/Task.h b/rts/Task.h index e5b729527d..f18f154117 100644 --- a/rts/Task.h +++ b/rts/Task.h @@ -238,12 +238,6 @@ extern __thread Task *my_task; #else extern ThreadLocalKey currentTaskKey; #endif -// LLVM-based compilers do not upport the __thread attribute, so we need -// to store the gct variable as a pthread local storage. We declare the -// key here to keep thread local storage initialization in the same place. -#if defined(llvm_CC_FLAVOR) -extern ThreadLocalKey gctKey; -#endif #else extern Task *my_task; #endif |