summaryrefslogtreecommitdiff
path: root/rts/StgCRun.c
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2013-08-23 21:49:50 -0500
committerAustin Seipp <aseipp@pobox.com>2013-08-24 05:03:15 -0500
commitb7130bfd1a042753a177c7212aee8223846f7992 (patch)
treef895f08bd2e9055d527eddfe86d91233b554367b /rts/StgCRun.c
parent6a02f280e074278acceb6e9331bb00dccfe02f08 (diff)
downloadhaskell-b7130bfd1a042753a177c7212aee8223846f7992.tar.gz
Add support for iOS simulator (issue #8152).
The iOS simulator is essentially an iOS target but for an x86 machine instead. It doesn't support the native code generator either, though. Authored-by: Stephen Blackheath <...@blacksapphire.com> Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'rts/StgCRun.c')
-rw-r--r--rts/StgCRun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/StgCRun.c b/rts/StgCRun.c
index a45c52fd02..940e16dec1 100644
--- a/rts/StgCRun.c
+++ b/rts/StgCRun.c
@@ -116,7 +116,7 @@ StgWord8 *win32AllocStack(void)
#ifdef i386_HOST_ARCH
-#ifdef darwin_HOST_OS
+#if defined(darwin_HOST_OS) || defined(ios_HOST_OS)
#define STG_GLOBAL ".globl "
#define STG_HIDDEN ".private_extern "
#else