summaryrefslogtreecommitdiff
path: root/rts/StgMiscClosures.cmm
diff options
context:
space:
mode:
authorClemens Fruhwirth <clemens@endorphin.org>2007-08-08 06:50:43 +0000
committerClemens Fruhwirth <clemens@endorphin.org>2007-08-08 06:50:43 +0000
commit006a18ea83799c0d4255071a2f8c08d3e9c7d84f (patch)
treebf73abdd6f0d50df5dc991a0d8c39d6c6a8a1be6 /rts/StgMiscClosures.cmm
parent90ef8ab26efb2fc4172944f1066f122d3a6e7c7d (diff)
downloadhaskell-006a18ea83799c0d4255071a2f8c08d3e9c7d84f.tar.gz
Build RTS as dynamic library
Diffstat (limited to 'rts/StgMiscClosures.cmm')
-rw-r--r--rts/StgMiscClosures.cmm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/StgMiscClosures.cmm b/rts/StgMiscClosures.cmm
index 58cbaf9d56..ebf9e922ae 100644
--- a/rts/StgMiscClosures.cmm
+++ b/rts/StgMiscClosures.cmm
@@ -592,7 +592,7 @@ CLOSURE(stg_dummy_ret_closure,stg_dummy_ret);
replace them with references to the static objects.
------------------------------------------------------------------------- */
-#if defined(ENABLE_WIN32_DLL_SUPPORT)
+#if defined(__PIC__) && defined(mingw32_TARGET_OS)
/*
* When sticking the RTS in a DLL, we delay populating the
* Charlike and Intlike tables until load-time, which is only