[commit: ghc] ghc-7.8: Remove ios_HOST check for GCTDecl.h (8ac9e06)
git at git.haskell.org
git at git.haskell.org
Mon Feb 17 09:14:50 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-7.8
Link : http://ghc.haskell.org/trac/ghc/changeset/8ac9e061cb4e4b266f9e2ff4f2cfe3bab85ffd7a/ghc
>---------------------------------------------------------------
commit 8ac9e061cb4e4b266f9e2ff4f2cfe3bab85ffd7a
Author: Austin Seipp <austin at well-typed.com>
Date: Thu Feb 6 22:58:30 2014 -0600
Remove ios_HOST check for GCTDecl.h
Following 298a25bdf and #8722 as Peter mentioned, this probably isn't
needed anymore.
Signed-off-by: Austin Seipp <austin at well-typed.com>
(cherry picked from commit b4eb630c7480bc56c673a463f274aec18e237e8c)
>---------------------------------------------------------------
8ac9e061cb4e4b266f9e2ff4f2cfe3bab85ffd7a
rts/sm/GCTDecl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rts/sm/GCTDecl.h b/rts/sm/GCTDecl.h
index 2489430..5602cb8 100644
--- a/rts/sm/GCTDecl.h
+++ b/rts/sm/GCTDecl.h
@@ -57,7 +57,7 @@ extern StgWord8 the_gc_thread[];
Also, the iOS Clang compiler doesn't support __thread either for
some bizarre reason, so there's not much we can do about that... */
-#if (defined(llvm_CC_FLAVOR) && (CC_SUPPORTS_TLS == 0)) || defined(ios_HOST_OS)
+#if defined(llvm_CC_FLAVOR) && (CC_SUPPORTS_TLS == 0)
#define gct ((gc_thread *)(pthread_getspecific(gctKey)))
#define SET_GCT(to) (pthread_setspecific(gctKey, to))
#define DECLARE_GCT ThreadLocalKey gctKey;
More information about the ghc-commits
mailing list